Setuptools entry_points plugins

This commit is contained in:
Jakub Warmuz
2015-03-26 13:55:23 +00:00
parent 197125bdda
commit ff532469a5
9 changed files with 87 additions and 18 deletions
+16
View File
@@ -0,0 +1,16 @@
from setuptools import setup
setup(
name='letsencrypt-example-plugins',
package='letsencrypt_example_plugins.py',
install_requires=[
'letsencrypt',
'zope.interface',
],
entry_points={
'letsencrypt.authenticators': [
'example = letsencrypt_example_plugins:Authenticator',
],
},
)