/ letsencrypt-nginx / setup.py
setup.py
 1  import sys
 2  
 3  from setuptools import setup
 4  from setuptools import find_packages
 5  
 6  
 7  version = '0.1.0.dev0'
 8  
 9  install_requires = [
10      'acme=={0}'.format(version),
11      'letsencrypt=={0}'.format(version),
12      'PyOpenSSL',
13      'pyparsing>=1.5.5',  # Python3 support; perhaps unnecessary?
14      'setuptools',  # pkg_resources
15      'zope.interface',
16  ]
17  
18  if sys.version_info < (2, 7):
19      install_requires.append('mock<1.1.0')
20  else:
21      install_requires.append('mock')
22  
23  docs_extras = [
24      'Sphinx>=1.0',  # autodoc_member_order = 'bysource', autodoc_default_flags
25      'sphinx_rtd_theme',
26  ]
27  
28  setup(
29      name='letsencrypt-nginx',
30      version=version,
31      description="Nginx plugin for Let's Encrypt client",
32      url='https://github.com/letsencrypt/letsencrypt',
33      author="Let's Encrypt Project",
34      author_email='client-dev@letsencrypt.org',
35      license='Apache License 2.0',
36      classifiers=[
37          'Development Status :: 3 - Alpha',
38          'Environment :: Plugins',
39          'Intended Audience :: System Administrators',
40          'License :: OSI Approved :: Apache Software License',
41          'Operating System :: POSIX :: Linux',
42          'Programming Language :: Python',
43          'Programming Language :: Python :: 2',
44          'Programming Language :: Python :: 2.7',
45          'Topic :: Internet :: WWW/HTTP',
46          'Topic :: Security',
47          'Topic :: System :: Installation/Setup',
48          'Topic :: System :: Networking',
49          'Topic :: System :: Systems Administration',
50          'Topic :: Utilities',
51      ],
52  
53      packages=find_packages(),
54      include_package_data=True,
55      install_requires=install_requires,
56      extras_require={
57          'docs': docs_extras,
58      },
59      entry_points={
60          'letsencrypt.plugins': [
61              'nginx = letsencrypt_nginx.configurator:NginxConfigurator',
62          ],
63      },
64  )