We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Depend on josepy>=1.1.0 in setup.py files
Where we depend on `josepy`, I think we should depend on `josepy>=1.1.0`.

The reason for this is when older versions of `josepy` are used with `cryptography>=2.0`, users hit https://github.com/certbot/josepy/issues/13. Really, we'd like logic like "if cryptography>=2.0 is the version being used, depend on josepy>=1.1.0", but I'm not even sure logic like this is possible and if it is, it complicates things significantly.

A small bump to the version requirements in new versions of acme, certbot, etc. for another package of ours shouldn't be a problem at all and avoids this complexity.
Depend on josepy>=1.1.0 in setup.py files
Where we depend on `josepy`, I think we should depend on `josepy>=1.1.0`.

The reason for this is when older versions of `josepy` are used with `cryptography>=2.0`, users hit https://github.com/certbot/josepy/issues/13. Really, we'd like logic like "if cryptography>=2.0 is the version being used, depend on josepy>=1.1.0", but I'm not even sure logic like this is possible and if it is, it complicates things significantly.

A small bump to the version requirements in new versions of acme, certbot, etc. for another package of ours shouldn't be a problem at all and avoids this complexity.

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `setup.py`
Content:
```
1 import codecs
2 import os
3 import re
4 
5 from setuptools import find_packages, setup
6 
7 # Workaround for http://bugs.python.org/issue8876, see
8 # http://bugs.python.org/issue8876#msg208792
9 # This can be removed when using Python 2.7.9 or later:
10 # https://hg.python.org/cpython/raw-file/v2.7.9/Misc/NEWS
11 if os.path.abspath(__file__).split(os.path.sep)[1] == 'vagrant':
12     del os.link
13 
14 
15 def read_file(filename, encoding='utf8'):
16     """Read unicode from given file."""
17     with codecs.open(filename, encoding=encoding) as fd:
18         return fd.read()
19 
20 
21 here = os.path.abspath(os.path.dirname(__file__))
22 
23 # read version number (and other metadata) from package init
24 init_fn = os.path.join(here, 'certbot', '__init__.py')
25 meta = dict(re.findall(r"""__([a-z]+)__ = '([^']+)""", read_file(init_fn)))
26 
27 readme = read_file(os.path.join(here, 'README.rst'))
28 version = meta['version']
29 
30 # This package relies on PyOpenSSL, requests, and six, however, it isn't
31 # specified here to avoid masking the more specific request requirements in
32 # acme. See https://github.com/pypa/pip/issues/988 for more info.
33 install_requires = [
34     'acme>=0.29.0',
35     # We technically need ConfigArgParse 0.10.0 for Python 2.6 support, but
36     # saying so here causes a runtime error against our temporary fork of 0.9.3
37     # in which we added 2.6 support (see #2243), so we relax the requirement.
38     'ConfigArgParse>=0.9.3',
39     'configobj',
40     'cryptography>=1.2.3',  # load_pem_x509_certificate
41     'josepy',
42     'mock',
43     'parsedatetime>=1.3',  # Calendar.parseDT
44     'pyrfc3339',
45     'pytz',
46     'setuptools',
47     'zope.component',
48     'zope.interface',
49 ]
50 
51 dev_extras = [
52     # Pin astroid==1.3.5, pylint==1.4.2 as a workaround for #289
53     'astroid==1.3.5',
54     'coverage',
55     'ipdb',
56     'pytest',
57     'pytest-cov',
58     'pytest-xdist',
59     'pylint==1.4.2',  # upstream #248
60     'tox',
61     'twine',
62     'wheel',
63 ]
64 
65 dev3_extras = [
66     'mypy',
67     'typing', # for python3.4
68 ]
69 
70 docs_extras = [
71     # If you have Sphinx<1.5.1, you need docutils<0.13.1
72     # https://github.com/sphinx-doc/sphinx/issues/3212
73     'repoze.sphinx.autointerface',
74     'Sphinx>=1.2', # Annotation support
75     'sphinx_rtd_theme',
76 ]
77 
78 setup(
79     name='certbot',
80     version=version,
81     description="ACME client",
82     long_description=readme,
83     url='https://github.com/letsencrypt/letsencrypt',
84     author="Certbot Project",
85     author_email='client-dev@letsencrypt.org',
86     license='Apache License 2.0',
87     python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
88     classifiers=[
89         'Development Status :: 5 - Production/Stable',
90         'Environment :: Console',
91         'Environment :: Console :: Curses',
92         'Intended Audience :: System Administrators',
93         'License :: OSI Approved :: Apache Software License',
94         'Operating System :: POSIX :: Linux',
95         'Programming Language :: Python',
96         'Programming Language :: Python :: 2',
97         'Programming Language :: Python :: 2.7',
98         'Programming Language :: Python :: 3',
99         'Programming Language :: Python :: 3.4',
100         'Programming Language :: Python :: 3.5',
101         'Programming Language :: Python :: 3.6',
102         'Programming Language :: Python :: 3.7',
103         'Topic :: Internet :: WWW/HTTP',
104         'Topic :: Security',
105         'Topic :: System :: Installation/Setup',
106         'Topic :: System :: Networking',
107         'Topic :: System :: Systems Administration',
108         'Topic :: Utilities',
109     ],
110 
111     packages=find_packages(exclude=['docs', 'examples', 'tests', 'venv']),
112     include_package_data=True,
113 
114     install_requires=install_requires,
115     extras_require={
116         'dev': dev_extras,
117         'dev3': dev3_extras,
118         'docs': docs_extras,
119     },
120 
121     # to test all packages run "python setup.py test -s
122     # {acme,certbot_apache,certbot_nginx}"
123     test_suite='certbot',
124 
125     entry_points={
126         'console_scripts': [
127             'certbot = certbot.main:main',
128         ],
129         'certbot.plugins': [
130             'manual = certbot.plugins.manual:Authenticator',
131             'null = certbot.plugins.null:Installer',
132             'standalone = certbot.plugins.standalone:Authenticator',
133             'webroot = certbot.plugins.webroot:Authenticator',
134         ],
135     },
136 )
137
```

Path: `acme/setup.py`
Content:
```
1 from setuptools import setup
2 from setuptools import find_packages
3 from setuptools.command.test import test as TestCommand
4 import sys
5 
6 version = '0.32.0.dev0'
7 
8 # Please update tox.ini when modifying dependency version requirements
9 install_requires = [
10     # load_pem_private/public_key (>=0.6)
11     # rsa_recover_prime_factors (>=0.8)
12     'cryptography>=1.2.3',
13     # formerly known as acme.jose:
14     'josepy>=1.0.0',
15     # Connection.set_tlsext_host_name (>=0.13)
16     'mock',
17     'PyOpenSSL>=0.13.1',
18     'pyrfc3339',
19     'pytz',
20     'requests[security]>=2.6.0',  # security extras added in 2.4.1
21     'requests-toolbelt>=0.3.0',
22     'setuptools',
23     'six>=1.9.0',  # needed for python_2_unicode_compatible
24 ]
25 
26 dev_extras = [
27     'pytest',
28     'pytest-xdist',
29     'tox',
30 ]
31 
32 docs_extras = [
33     'Sphinx>=1.0',  # autodoc_member_order = 'bysource', autodoc_default_flags
34     'sphinx_rtd_theme',
35 ]
36 
37 class PyTest(TestCommand):
38     user_options = []
39 
40     def initialize_options(self):
41         TestCommand.initialize_options(self)
42         self.pytest_args = ''
43 
44     def run_tests(self):
45         import shlex
46         # import here, cause outside the eggs aren't loaded
47         import pytest
48         errno = pytest.main(shlex.split(self.pytest_args))
49         sys.exit(errno)
50 
51 setup(
52     name='acme',
53     version=version,
54     description='ACME protocol implementation in Python',
55     url='https://github.com/letsencrypt/letsencrypt',
56     author="Certbot Project",
57     author_email='client-dev@letsencrypt.org',
58     license='Apache License 2.0',
59     python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
60     classifiers=[
61         'Development Status :: 5 - Production/Stable',
62         'Intended Audience :: Developers',
63         'License :: OSI Approved :: Apache Software License',
64         'Programming Language :: Python',
65         'Programming Language :: Python :: 2',
66         'Programming Language :: Python :: 2.7',
67         'Programming Language :: Python :: 3',
68         'Programming Language :: Python :: 3.4',
69         'Programming Language :: Python :: 3.5',
70         'Programming Language :: Python :: 3.6',
71         'Programming Language :: Python :: 3.7',
72         'Topic :: Internet :: WWW/HTTP',
73         'Topic :: Security',
74     ],
75 
76     packages=find_packages(),
77     include_package_data=True,
78     install_requires=install_requires,
79     extras_require={
80         'dev': dev_extras,
81         'docs': docs_extras,
82     },
83     tests_require=["pytest"],
84     test_suite='acme',
85     cmdclass={"test": PyTest},
86 )
87
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/acme/setup.py b/acme/setup.py
--- a/acme/setup.py
+++ b/acme/setup.py
@@ -11,7 +11,9 @@
     # rsa_recover_prime_factors (>=0.8)
     'cryptography>=1.2.3',
     # formerly known as acme.jose:
-    'josepy>=1.0.0',
+    # 1.1.0+ is required to avoid the warnings described at
+    # https://github.com/certbot/josepy/issues/13.
+    'josepy>=1.1.0',
     # Connection.set_tlsext_host_name (>=0.13)
     'mock',
     'PyOpenSSL>=0.13.1',
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -38,7 +38,9 @@
     'ConfigArgParse>=0.9.3',
     'configobj',
     'cryptography>=1.2.3',  # load_pem_x509_certificate
-    'josepy',
+    # 1.1.0+ is required to avoid the warnings described at
+    # https://github.com/certbot/josepy/issues/13.
+    'josepy>=1.1.0',
     'mock',
     'parsedatetime>=1.3',  # Calendar.parseDT
     'pyrfc3339',

{"golden_diff": "diff --git a/acme/setup.py b/acme/setup.py\n--- a/acme/setup.py\n+++ b/acme/setup.py\n@@ -11,7 +11,9 @@\n     # rsa_recover_prime_factors (>=0.8)\n     'cryptography>=1.2.3',\n     # formerly known as acme.jose:\n-    'josepy>=1.0.0',\n+    # 1.1.0+ is required to avoid the warnings described at\n+    # https://github.com/certbot/josepy/issues/13.\n+    'josepy>=1.1.0',\n     # Connection.set_tlsext_host_name (>=0.13)\n     'mock',\n     'PyOpenSSL>=0.13.1',\ndiff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -38,7 +38,9 @@\n     'ConfigArgParse>=0.9.3',\n     'configobj',\n     'cryptography>=1.2.3',  # load_pem_x509_certificate\n-    'josepy',\n+    # 1.1.0+ is required to avoid the warnings described at\n+    # https://github.com/certbot/josepy/issues/13.\n+    'josepy>=1.1.0',\n     'mock',\n     'parsedatetime>=1.3',  # Calendar.parseDT\n     'pyrfc3339',\n", "issue": "Depend on josepy>=1.1.0 in setup.py files\nWhere we depend on `josepy`, I think we should depend on `josepy>=1.1.0`.\r\n\r\nThe reason for this is when older versions of `josepy` are used with `cryptography>=2.0`, users hit https://github.com/certbot/josepy/issues/13. Really, we'd like logic like \"if cryptography>=2.0 is the version being used, depend on josepy>=1.1.0\", but I'm not even sure logic like this is possible and if it is, it complicates things significantly.\r\n\r\nA small bump to the version requirements in new versions of acme, certbot, etc. for another package of ours shouldn't be a problem at all and avoids this complexity.\nDepend on josepy>=1.1.0 in setup.py files\nWhere we depend on `josepy`, I think we should depend on `josepy>=1.1.0`.\r\n\r\nThe reason for this is when older versions of `josepy` are used with `cryptography>=2.0`, users hit https://github.com/certbot/josepy/issues/13. Really, we'd like logic like \"if cryptography>=2.0 is the version being used, depend on josepy>=1.1.0\", but I'm not even sure logic like this is possible and if it is, it complicates things significantly.\r\n\r\nA small bump to the version requirements in new versions of acme, certbot, etc. for another package of ours shouldn't be a problem at all and avoids this complexity.\n", "before_files": [{"content": "import codecs\nimport os\nimport re\n\nfrom setuptools import find_packages, setup\n\n# Workaround for http://bugs.python.org/issue8876, see\n# http://bugs.python.org/issue8876#msg208792\n# This can be removed when using Python 2.7.9 or later:\n# https://hg.python.org/cpython/raw-file/v2.7.9/Misc/NEWS\nif os.path.abspath(__file__).split(os.path.sep)[1] == 'vagrant':\n    del os.link\n\n\ndef read_file(filename, encoding='utf8'):\n    \"\"\"Read unicode from given file.\"\"\"\n    with codecs.open(filename, encoding=encoding) as fd:\n        return fd.read()\n\n\nhere = os.path.abspath(os.path.dirname(__file__))\n\n# read version number (and other metadata) from package init\ninit_fn = os.path.join(here, 'certbot', '__init__.py')\nmeta = dict(re.findall(r\"\"\"__([a-z]+)__ = '([^']+)\"\"\", read_file(init_fn)))\n\nreadme = read_file(os.path.join(here, 'README.rst'))\nversion = meta['version']\n\n# This package relies on PyOpenSSL, requests, and six, however, it isn't\n# specified here to avoid masking the more specific request requirements in\n# acme. See https://github.com/pypa/pip/issues/988 for more info.\ninstall_requires = [\n    'acme>=0.29.0',\n    # We technically need ConfigArgParse 0.10.0 for Python 2.6 support, but\n    # saying so here causes a runtime error against our temporary fork of 0.9.3\n    # in which we added 2.6 support (see #2243), so we relax the requirement.\n    'ConfigArgParse>=0.9.3',\n    'configobj',\n    'cryptography>=1.2.3',  # load_pem_x509_certificate\n    'josepy',\n    'mock',\n    'parsedatetime>=1.3',  # Calendar.parseDT\n    'pyrfc3339',\n    'pytz',\n    'setuptools',\n    'zope.component',\n    'zope.interface',\n]\n\ndev_extras = [\n    # Pin astroid==1.3.5, pylint==1.4.2 as a workaround for #289\n    'astroid==1.3.5',\n    'coverage',\n    'ipdb',\n    'pytest',\n    'pytest-cov',\n    'pytest-xdist',\n    'pylint==1.4.2',  # upstream #248\n    'tox',\n    'twine',\n    'wheel',\n]\n\ndev3_extras = [\n    'mypy',\n    'typing', # for python3.4\n]\n\ndocs_extras = [\n    # If you have Sphinx<1.5.1, you need docutils<0.13.1\n    # https://github.com/sphinx-doc/sphinx/issues/3212\n    'repoze.sphinx.autointerface',\n    'Sphinx>=1.2', # Annotation support\n    'sphinx_rtd_theme',\n]\n\nsetup(\n    name='certbot',\n    version=version,\n    description=\"ACME client\",\n    long_description=readme,\n    url='https://github.com/letsencrypt/letsencrypt',\n    author=\"Certbot Project\",\n    author_email='client-dev@letsencrypt.org',\n    license='Apache License 2.0',\n    python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',\n    classifiers=[\n        'Development Status :: 5 - Production/Stable',\n        'Environment :: Console',\n        'Environment :: Console :: Curses',\n        'Intended Audience :: System Administrators',\n        'License :: OSI Approved :: Apache Software License',\n        'Operating System :: POSIX :: Linux',\n        'Programming Language :: Python',\n        'Programming Language :: Python :: 2',\n        'Programming Language :: Python :: 2.7',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.4',\n        'Programming Language :: Python :: 3.5',\n        'Programming Language :: Python :: 3.6',\n        'Programming Language :: Python :: 3.7',\n        'Topic :: Internet :: WWW/HTTP',\n        'Topic :: Security',\n        'Topic :: System :: Installation/Setup',\n        'Topic :: System :: Networking',\n        'Topic :: System :: Systems Administration',\n        'Topic :: Utilities',\n    ],\n\n    packages=find_packages(exclude=['docs', 'examples', 'tests', 'venv']),\n    include_package_data=True,\n\n    install_requires=install_requires,\n    extras_require={\n        'dev': dev_extras,\n        'dev3': dev3_extras,\n        'docs': docs_extras,\n    },\n\n    # to test all packages run \"python setup.py test -s\n    # {acme,certbot_apache,certbot_nginx}\"\n    test_suite='certbot',\n\n    entry_points={\n        'console_scripts': [\n            'certbot = certbot.main:main',\n        ],\n        'certbot.plugins': [\n            'manual = certbot.plugins.manual:Authenticator',\n            'null = certbot.plugins.null:Installer',\n            'standalone = certbot.plugins.standalone:Authenticator',\n            'webroot = certbot.plugins.webroot:Authenticator',\n        ],\n    },\n)\n", "path": "setup.py"}, {"content": "from setuptools import setup\nfrom setuptools import find_packages\nfrom setuptools.command.test import test as TestCommand\nimport sys\n\nversion = '0.32.0.dev0'\n\n# Please update tox.ini when modifying dependency version requirements\ninstall_requires = [\n    # load_pem_private/public_key (>=0.6)\n    # rsa_recover_prime_factors (>=0.8)\n    'cryptography>=1.2.3',\n    # formerly known as acme.jose:\n    'josepy>=1.0.0',\n    # Connection.set_tlsext_host_name (>=0.13)\n    'mock',\n    'PyOpenSSL>=0.13.1',\n    'pyrfc3339',\n    'pytz',\n    'requests[security]>=2.6.0',  # security extras added in 2.4.1\n    'requests-toolbelt>=0.3.0',\n    'setuptools',\n    'six>=1.9.0',  # needed for python_2_unicode_compatible\n]\n\ndev_extras = [\n    'pytest',\n    'pytest-xdist',\n    'tox',\n]\n\ndocs_extras = [\n    'Sphinx>=1.0',  # autodoc_member_order = 'bysource', autodoc_default_flags\n    'sphinx_rtd_theme',\n]\n\nclass PyTest(TestCommand):\n    user_options = []\n\n    def initialize_options(self):\n        TestCommand.initialize_options(self)\n        self.pytest_args = ''\n\n    def run_tests(self):\n        import shlex\n        # import here, cause outside the eggs aren't loaded\n        import pytest\n        errno = pytest.main(shlex.split(self.pytest_args))\n        sys.exit(errno)\n\nsetup(\n    name='acme',\n    version=version,\n    description='ACME protocol implementation in Python',\n    url='https://github.com/letsencrypt/letsencrypt',\n    author=\"Certbot Project\",\n    author_email='client-dev@letsencrypt.org',\n    license='Apache License 2.0',\n    python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',\n    classifiers=[\n        'Development Status :: 5 - Production/Stable',\n        'Intended Audience :: Developers',\n        'License :: OSI Approved :: Apache Software License',\n        'Programming Language :: Python',\n        'Programming Language :: Python :: 2',\n        'Programming Language :: Python :: 2.7',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.4',\n        'Programming Language :: Python :: 3.5',\n        'Programming Language :: Python :: 3.6',\n        'Programming Language :: Python :: 3.7',\n        'Topic :: Internet :: WWW/HTTP',\n        'Topic :: Security',\n    ],\n\n    packages=find_packages(),\n    include_package_data=True,\n    install_requires=install_requires,\n    extras_require={\n        'dev': dev_extras,\n        'docs': docs_extras,\n    },\n    tests_require=[\"pytest\"],\n    test_suite='acme',\n    cmdclass={\"test\": PyTest},\n)\n", "path": "acme/setup.py"}], "after_files": [{"content": "import codecs\nimport os\nimport re\n\nfrom setuptools import find_packages, setup\n\n# Workaround for http://bugs.python.org/issue8876, see\n# http://bugs.python.org/issue8876#msg208792\n# This can be removed when using Python 2.7.9 or later:\n# https://hg.python.org/cpython/raw-file/v2.7.9/Misc/NEWS\nif os.path.abspath(__file__).split(os.path.sep)[1] == 'vagrant':\n    del os.link\n\n\ndef read_file(filename, encoding='utf8'):\n    \"\"\"Read unicode from given file.\"\"\"\n    with codecs.open(filename, encoding=encoding) as fd:\n        return fd.read()\n\n\nhere = os.path.abspath(os.path.dirname(__file__))\n\n# read version number (and other metadata) from package init\ninit_fn = os.path.join(here, 'certbot', '__init__.py')\nmeta = dict(re.findall(r\"\"\"__([a-z]+)__ = '([^']+)\"\"\", read_file(init_fn)))\n\nreadme = read_file(os.path.join(here, 'README.rst'))\nversion = meta['version']\n\n# This package relies on PyOpenSSL, requests, and six, however, it isn't\n# specified here to avoid masking the more specific request requirements in\n# acme. See https://github.com/pypa/pip/issues/988 for more info.\ninstall_requires = [\n    'acme>=0.29.0',\n    # We technically need ConfigArgParse 0.10.0 for Python 2.6 support, but\n    # saying so here causes a runtime error against our temporary fork of 0.9.3\n    # in which we added 2.6 support (see #2243), so we relax the requirement.\n    'ConfigArgParse>=0.9.3',\n    'configobj',\n    'cryptography>=1.2.3',  # load_pem_x509_certificate\n    # 1.1.0+ is required to avoid the warnings described at\n    # https://github.com/certbot/josepy/issues/13.\n    'josepy>=1.1.0',\n    'mock',\n    'parsedatetime>=1.3',  # Calendar.parseDT\n    'pyrfc3339',\n    'pytz',\n    'setuptools',\n    'zope.component',\n    'zope.interface',\n]\n\ndev_extras = [\n    # Pin astroid==1.3.5, pylint==1.4.2 as a workaround for #289\n    'astroid==1.3.5',\n    'coverage',\n    'ipdb',\n    'pytest',\n    'pytest-cov',\n    'pytest-xdist',\n    'pylint==1.4.2',  # upstream #248\n    'tox',\n    'twine',\n    'wheel',\n]\n\ndev3_extras = [\n    'mypy',\n    'typing', # for python3.4\n]\n\ndocs_extras = [\n    # If you have Sphinx<1.5.1, you need docutils<0.13.1\n    # https://github.com/sphinx-doc/sphinx/issues/3212\n    'repoze.sphinx.autointerface',\n    'Sphinx>=1.2', # Annotation support\n    'sphinx_rtd_theme',\n]\n\nsetup(\n    name='certbot',\n    version=version,\n    description=\"ACME client\",\n    long_description=readme,\n    url='https://github.com/letsencrypt/letsencrypt',\n    author=\"Certbot Project\",\n    author_email='client-dev@letsencrypt.org',\n    license='Apache License 2.0',\n    python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',\n    classifiers=[\n        'Development Status :: 5 - Production/Stable',\n        'Environment :: Console',\n        'Environment :: Console :: Curses',\n        'Intended Audience :: System Administrators',\n        'License :: OSI Approved :: Apache Software License',\n        'Operating System :: POSIX :: Linux',\n        'Programming Language :: Python',\n        'Programming Language :: Python :: 2',\n        'Programming Language :: Python :: 2.7',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.4',\n        'Programming Language :: Python :: 3.5',\n        'Programming Language :: Python :: 3.6',\n        'Programming Language :: Python :: 3.7',\n        'Topic :: Internet :: WWW/HTTP',\n        'Topic :: Security',\n        'Topic :: System :: Installation/Setup',\n        'Topic :: System :: Networking',\n        'Topic :: System :: Systems Administration',\n        'Topic :: Utilities',\n    ],\n\n    packages=find_packages(exclude=['docs', 'examples', 'tests', 'venv']),\n    include_package_data=True,\n\n    install_requires=install_requires,\n    extras_require={\n        'dev': dev_extras,\n        'dev3': dev3_extras,\n        'docs': docs_extras,\n    },\n\n    # to test all packages run \"python setup.py test -s\n    # {acme,certbot_apache,certbot_nginx}\"\n    test_suite='certbot',\n\n    entry_points={\n        'console_scripts': [\n            'certbot = certbot.main:main',\n        ],\n        'certbot.plugins': [\n            'manual = certbot.plugins.manual:Authenticator',\n            'null = certbot.plugins.null:Installer',\n            'standalone = certbot.plugins.standalone:Authenticator',\n            'webroot = certbot.plugins.webroot:Authenticator',\n        ],\n    },\n)\n", "path": "setup.py"}, {"content": "from setuptools import setup\nfrom setuptools import find_packages\nfrom setuptools.command.test import test as TestCommand\nimport sys\n\nversion = '0.32.0.dev0'\n\n# Please update tox.ini when modifying dependency version requirements\ninstall_requires = [\n    # load_pem_private/public_key (>=0.6)\n    # rsa_recover_prime_factors (>=0.8)\n    'cryptography>=1.2.3',\n    # formerly known as acme.jose:\n    # 1.1.0+ is required to avoid the warnings described at\n    # https://github.com/certbot/josepy/issues/13.\n    'josepy>=1.1.0',\n    # Connection.set_tlsext_host_name (>=0.13)\n    'mock',\n    'PyOpenSSL>=0.13.1',\n    'pyrfc3339',\n    'pytz',\n    'requests[security]>=2.6.0',  # security extras added in 2.4.1\n    'requests-toolbelt>=0.3.0',\n    'setuptools',\n    'six>=1.9.0',  # needed for python_2_unicode_compatible\n]\n\ndev_extras = [\n    'pytest',\n    'pytest-xdist',\n    'tox',\n]\n\ndocs_extras = [\n    'Sphinx>=1.0',  # autodoc_member_order = 'bysource', autodoc_default_flags\n    'sphinx_rtd_theme',\n]\n\nclass PyTest(TestCommand):\n    user_options = []\n\n    def initialize_options(self):\n        TestCommand.initialize_options(self)\n        self.pytest_args = ''\n\n    def run_tests(self):\n        import shlex\n        # import here, cause outside the eggs aren't loaded\n        import pytest\n        errno = pytest.main(shlex.split(self.pytest_args))\n        sys.exit(errno)\n\nsetup(\n    name='acme',\n    version=version,\n    description='ACME protocol implementation in Python',\n    url='https://github.com/letsencrypt/letsencrypt',\n    author=\"Certbot Project\",\n    author_email='client-dev@letsencrypt.org',\n    license='Apache License 2.0',\n    python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',\n    classifiers=[\n        'Development Status :: 5 - Production/Stable',\n        'Intended Audience :: Developers',\n        'License :: OSI Approved :: Apache Software License',\n        'Programming Language :: Python',\n        'Programming Language :: Python :: 2',\n        'Programming Language :: Python :: 2.7',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.4',\n        'Programming Language :: Python :: 3.5',\n        'Programming Language :: Python :: 3.6',\n        'Programming Language :: Python :: 3.7',\n        'Topic :: Internet :: WWW/HTTP',\n        'Topic :: Security',\n    ],\n\n    packages=find_packages(),\n    include_package_data=True,\n    install_requires=install_requires,\n    extras_require={\n        'dev': dev_extras,\n        'docs': docs_extras,\n    },\n    tests_require=[\"pytest\"],\n    test_suite='acme',\n    cmdclass={\"test\": PyTest},\n)\n", "path": "acme/setup.py"}]}