/ acme / 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      # load_pem_private/public_key (>=0.6)
11      # rsa_recover_prime_factors (>=0.8)
12      'cryptography>=0.8',
13      'ndg-httpsclient',  # urllib3 InsecurePlatformWarning (#304)
14      'pyasn1',  # urllib3 InsecurePlatformWarning (#304)
15      # Connection.set_tlsext_host_name (>=0.13), X509Req.get_extensions (>=0.15)
16      'PyOpenSSL>=0.15',
17      'pyrfc3339',
18      'pytz',
19      'requests',
20      'setuptools',  # pkg_resources
21      'six',
22      'werkzeug',
23  ]
24  
25  # env markers in extras_require cause problems with older pip: #517
26  if sys.version_info < (2, 7):
27      install_requires.extend([
28          # only some distros recognize stdlib argparse as already satisfying
29          'argparse',
30          'mock<1.1.0',
31      ])
32  else:
33      install_requires.append('mock')
34  
35  docs_extras = [
36      'Sphinx>=1.0',  # autodoc_member_order = 'bysource', autodoc_default_flags
37      'sphinx_rtd_theme',
38      'sphinxcontrib-programoutput',
39  ]
40  
41  testing_extras = [
42      'nose',
43      'tox',
44  ]
45  
46  
47  setup(
48      name='acme',
49      version=version,
50      description='ACME protocol implementation in Python',
51      url='https://github.com/letsencrypt/letsencrypt',
52      author="Let's Encrypt Project",
53      author_email='client-dev@letsencrypt.org',
54      license='Apache License 2.0',
55      classifiers=[
56          'Development Status :: 3 - Alpha',
57          'Intended Audience :: Developers',
58          'License :: OSI Approved :: Apache Software License',
59          'Programming Language :: Python',
60          'Programming Language :: Python :: 2',
61          'Programming Language :: Python :: 2.7',
62          'Programming Language :: Python :: 3',
63          'Programming Language :: Python :: 3.3',
64          'Programming Language :: Python :: 3.4',
65          'Topic :: Internet :: WWW/HTTP',
66          'Topic :: Security',
67      ],
68  
69      packages=find_packages(),
70      include_package_data=True,
71      install_requires=install_requires,
72      extras_require={
73          'docs': docs_extras,
74          'testing': testing_extras,
75      },
76      entry_points={
77          'console_scripts': [
78              'jws = acme.jose.jws:CLI.run',
79          ],
80      },
81      test_suite='acme',
82  )