From d71ed7ae55c29e362af62814a39a140cf3e94ea3 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Mon, 15 Mar 2021 14:43:41 -0700 Subject: [PATCH] remove setup.py --- acme/setup.py | 64 ------------ certbot-apache/setup.py | 61 ----------- certbot-ci/setup.py | 67 ------------- certbot-compatibility-test/setup.py | 52 ---------- certbot-dns-cloudflare/setup.py | 73 -------------- certbot-dns-cloudxns/setup.py | 73 -------------- certbot-dns-digitalocean/setup.py | 73 -------------- certbot-dns-dnsimple/setup.py | 84 ---------------- certbot-dns-dnsmadeeasy/setup.py | 73 -------------- certbot-dns-gehirn/setup.py | 72 ------------- certbot-dns-google/setup.py | 76 -------------- certbot-dns-linode/setup.py | 72 ------------- certbot-dns-luadns/setup.py | 73 -------------- certbot-dns-nsone/setup.py | 73 -------------- certbot-dns-ovh/setup.py | 73 -------------- certbot-dns-rfc2136/setup.py | 73 -------------- certbot-dns-route53/setup.py | 74 -------------- certbot-dns-sakuracloud/setup.py | 72 ------------- certbot-nginx/setup.py | 54 ---------- certbot/setup.py | 150 ---------------------------- 20 files changed, 1482 deletions(-) delete mode 100644 acme/setup.py delete mode 100644 certbot-apache/setup.py delete mode 100644 certbot-ci/setup.py delete mode 100644 certbot-compatibility-test/setup.py delete mode 100644 certbot-dns-cloudflare/setup.py delete mode 100644 certbot-dns-cloudxns/setup.py delete mode 100644 certbot-dns-digitalocean/setup.py delete mode 100644 certbot-dns-dnsimple/setup.py delete mode 100644 certbot-dns-dnsmadeeasy/setup.py delete mode 100644 certbot-dns-gehirn/setup.py delete mode 100644 certbot-dns-google/setup.py delete mode 100644 certbot-dns-linode/setup.py delete mode 100644 certbot-dns-luadns/setup.py delete mode 100644 certbot-dns-nsone/setup.py delete mode 100644 certbot-dns-ovh/setup.py delete mode 100644 certbot-dns-rfc2136/setup.py delete mode 100644 certbot-dns-route53/setup.py delete mode 100644 certbot-dns-sakuracloud/setup.py delete mode 100644 certbot-nginx/setup.py delete mode 100644 certbot/setup.py diff --git a/acme/setup.py b/acme/setup.py deleted file mode 100644 index 90ab5c9f3ed..00000000000 --- a/acme/setup.py +++ /dev/null @@ -1,64 +0,0 @@ -import sys - -from setuptools import find_packages -from setuptools import setup - -version = '1.14.0.dev0' - -# Please update tox.ini when modifying dependency version requirements -install_requires = [ - 'cryptography>=2.1.4', - # formerly known as acme.jose: - # 1.1.0+ is required to avoid the warnings described at - # https://github.com/certbot/josepy/issues/13. - 'josepy>=1.1.0', - 'PyOpenSSL>=17.3.0', - 'pyrfc3339', - 'pytz', - 'requests>=2.6.0', - 'requests-toolbelt>=0.3.0', - 'setuptools>=39.0.1', -] - -dev_extras = [ - 'pytest', - 'pytest-xdist', - 'tox', -] - -docs_extras = [ - 'Sphinx>=1.0', # autodoc_member_order = 'bysource', autodoc_default_flags - 'sphinx_rtd_theme', -] - -setup( - name='acme', - version=version, - description='ACME protocol implementation in Python', - url='https://github.com/letsencrypt/letsencrypt', - author="Certbot Project", - author_email='client-dev@letsencrypt.org', - license='Apache License 2.0', - python_requires='>=3.6', - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Intended Audience :: Developers', - 'License :: OSI Approved :: Apache Software License', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Topic :: Internet :: WWW/HTTP', - 'Topic :: Security', - ], - - packages=find_packages(), - include_package_data=True, - install_requires=install_requires, - extras_require={ - 'dev': dev_extras, - 'docs': docs_extras, - }, -) diff --git a/certbot-apache/setup.py b/certbot-apache/setup.py deleted file mode 100644 index 43165a9ddb1..00000000000 --- a/certbot-apache/setup.py +++ /dev/null @@ -1,61 +0,0 @@ -from setuptools import find_packages -from setuptools import setup - -version = '1.14.0.dev0' - -# Remember to update local-oldest-requirements.txt when changing the minimum -# acme/certbot version. -install_requires = [ - 'acme>=0.29.0', - 'certbot>=1.6.0', - 'python-augeas', - 'setuptools>=39.0.1', - 'zope.component', - 'zope.interface', -] - -dev_extras = [ - 'apacheconfig>=0.3.2', -] - -setup( - name='certbot-apache', - version=version, - description="Apache plugin for Certbot", - url='https://github.com/letsencrypt/letsencrypt', - author="Certbot Project", - author_email='client-dev@letsencrypt.org', - license='Apache License 2.0', - python_requires='>=3.6', - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Environment :: Plugins', - 'Intended Audience :: System Administrators', - 'License :: OSI Approved :: Apache Software License', - 'Operating System :: POSIX :: Linux', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Topic :: Internet :: WWW/HTTP', - 'Topic :: Security', - 'Topic :: System :: Installation/Setup', - 'Topic :: System :: Networking', - 'Topic :: System :: Systems Administration', - 'Topic :: Utilities', - ], - - packages=find_packages(), - include_package_data=True, - install_requires=install_requires, - extras_require={ - 'dev': dev_extras, - }, - entry_points={ - 'certbot.plugins': [ - 'apache = certbot_apache._internal.entrypoint:ENTRYPOINT', - ], - }, -) diff --git a/certbot-ci/setup.py b/certbot-ci/setup.py deleted file mode 100644 index 9f9c1f462df..00000000000 --- a/certbot-ci/setup.py +++ /dev/null @@ -1,67 +0,0 @@ -from distutils.version import LooseVersion -import sys - -from setuptools import __version__ as setuptools_version -from setuptools import find_packages -from setuptools import setup - -version = '0.32.0.dev0' - -install_requires = [ - 'coverage', - 'cryptography', - 'docker-compose', - 'pyopenssl', - 'pytest', - 'pytest-cov', - 'pytest-xdist', - 'python-dateutil', - 'pyyaml', - 'requests', -] - -# Add pywin32 on Windows platforms to handle low-level system calls. -# This dependency needs to be added using environment markers to avoid its installation on Linux. -# However environment markers are supported only with setuptools >= 36.2. -# So this dependency is not added for old Linux distributions with old setuptools, -# in order to allow these systems to build certbot from sources. -if LooseVersion(setuptools_version) >= LooseVersion('36.2'): - install_requires.append("pywin32>=224 ; sys_platform == 'win32'") -elif 'bdist_wheel' in sys.argv[1:]: - raise RuntimeError('Error, you are trying to build certbot wheels using an old version ' - 'of setuptools. Version 36.2+ of setuptools is required.') - -setup( - name='certbot-ci', - version=version, - description="Certbot continuous integration framework", - url='https://github.com/certbot/certbot', - author="Certbot Project", - author_email='client-dev@letsencrypt.org', - license='Apache License 2.0', - python_requires='>=3.6', - classifiers=[ - 'Development Status :: 3 - Alpha', - 'Intended Audience :: Developers', - 'License :: OSI Approved :: Apache Software License', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Topic :: Internet :: WWW/HTTP', - 'Topic :: Security', - ], - - packages=find_packages(), - include_package_data=True, - install_requires=install_requires, - - entry_points={ - 'console_scripts': [ - 'certbot_test=certbot_integration_tests.utils.certbot_call:main', - 'run_acme_server=certbot_integration_tests.utils.acme_server:main', - ], - } -) diff --git a/certbot-compatibility-test/setup.py b/certbot-compatibility-test/setup.py deleted file mode 100644 index 3e9e6a7c2fd..00000000000 --- a/certbot-compatibility-test/setup.py +++ /dev/null @@ -1,52 +0,0 @@ -import sys - -from setuptools import find_packages -from setuptools import setup - -version = '1.14.0.dev0' - -install_requires = [ - 'certbot', - 'certbot-apache', - 'requests', - 'zope.interface', -] - -if sys.version_info < (2, 7, 9): - # For secure SSL connexion with Python 2.7 (InsecurePlatformWarning) - install_requires.append('ndg-httpsclient') - install_requires.append('pyasn1') - - -setup( - name='certbot-compatibility-test', - version=version, - description="Compatibility tests for Certbot", - url='https://github.com/letsencrypt/letsencrypt', - author="Certbot Project", - author_email='client-dev@letsencrypt.org', - license='Apache License 2.0', - python_requires='>=3.6', - classifiers=[ - 'Development Status :: 3 - Alpha', - 'Intended Audience :: Developers', - 'License :: OSI Approved :: Apache Software License', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Topic :: Internet :: WWW/HTTP', - 'Topic :: Security', - ], - - packages=find_packages(), - include_package_data=True, - install_requires=install_requires, - entry_points={ - 'console_scripts': [ - 'certbot-compatibility-test = certbot_compatibility_test.test_driver:main', - ], - }, -) diff --git a/certbot-dns-cloudflare/setup.py b/certbot-dns-cloudflare/setup.py deleted file mode 100644 index 2e5215f9ceb..00000000000 --- a/certbot-dns-cloudflare/setup.py +++ /dev/null @@ -1,73 +0,0 @@ -import os -import sys - -from setuptools import find_packages -from setuptools import setup - -version = '1.14.0.dev0' - -# Remember to update local-oldest-requirements.txt when changing the minimum -# acme/certbot version. -install_requires = [ - 'cloudflare>=1.5.1', - 'setuptools>=39.0.1', - 'zope.interface', -] - -if not os.environ.get('SNAP_BUILD'): - install_requires.extend([ - 'acme>=0.29.0', - 'certbot>=1.1.0', - ]) -elif 'bdist_wheel' in sys.argv[1:]: - raise RuntimeError('Unset SNAP_BUILD when building wheels ' - 'to include certbot dependencies.') -if os.environ.get('SNAP_BUILD'): - install_requires.append('packaging') - -docs_extras = [ - 'Sphinx>=1.0', # autodoc_member_order = 'bysource', autodoc_default_flags - 'sphinx_rtd_theme', -] - -setup( - name='certbot-dns-cloudflare', - version=version, - description="Cloudflare DNS Authenticator plugin for Certbot", - url='https://github.com/certbot/certbot', - author="Certbot Project", - author_email='client-dev@letsencrypt.org', - license='Apache License 2.0', - python_requires='>=3.6', - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Environment :: Plugins', - 'Intended Audience :: System Administrators', - 'License :: OSI Approved :: Apache Software License', - 'Operating System :: POSIX :: Linux', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Topic :: Internet :: WWW/HTTP', - 'Topic :: Security', - 'Topic :: System :: Installation/Setup', - 'Topic :: System :: Networking', - 'Topic :: System :: Systems Administration', - 'Topic :: Utilities', - ], - - packages=find_packages(), - include_package_data=True, - install_requires=install_requires, - extras_require={ - 'docs': docs_extras, - }, - entry_points={ - 'certbot.plugins': [ - 'dns-cloudflare = certbot_dns_cloudflare._internal.dns_cloudflare:Authenticator', - ], - }, -) diff --git a/certbot-dns-cloudxns/setup.py b/certbot-dns-cloudxns/setup.py deleted file mode 100644 index 44bada6bc92..00000000000 --- a/certbot-dns-cloudxns/setup.py +++ /dev/null @@ -1,73 +0,0 @@ -import os -import sys - -from setuptools import find_packages -from setuptools import setup - -version = '1.14.0.dev0' - -# Remember to update local-oldest-requirements.txt when changing the minimum -# acme/certbot version. -install_requires = [ - 'dns-lexicon>=2.2.1', # Support for >1 TXT record per name - 'setuptools>=39.0.1', - 'zope.interface', -] - -if not os.environ.get('SNAP_BUILD'): - install_requires.extend([ - 'acme>=0.31.0', - 'certbot>=1.1.0', - ]) -elif 'bdist_wheel' in sys.argv[1:]: - raise RuntimeError('Unset SNAP_BUILD when building wheels ' - 'to include certbot dependencies.') -if os.environ.get('SNAP_BUILD'): - install_requires.append('packaging') - -docs_extras = [ - 'Sphinx>=1.0', # autodoc_member_order = 'bysource', autodoc_default_flags - 'sphinx_rtd_theme', -] - -setup( - name='certbot-dns-cloudxns', - version=version, - description="CloudXNS DNS Authenticator plugin for Certbot", - url='https://github.com/certbot/certbot', - author="Certbot Project", - author_email='client-dev@letsencrypt.org', - license='Apache License 2.0', - python_requires='>=3.6', - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Environment :: Plugins', - 'Intended Audience :: System Administrators', - 'License :: OSI Approved :: Apache Software License', - 'Operating System :: POSIX :: Linux', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Topic :: Internet :: WWW/HTTP', - 'Topic :: Security', - 'Topic :: System :: Installation/Setup', - 'Topic :: System :: Networking', - 'Topic :: System :: Systems Administration', - 'Topic :: Utilities', - ], - - packages=find_packages(), - include_package_data=True, - install_requires=install_requires, - extras_require={ - 'docs': docs_extras, - }, - entry_points={ - 'certbot.plugins': [ - 'dns-cloudxns = certbot_dns_cloudxns._internal.dns_cloudxns:Authenticator', - ], - }, -) diff --git a/certbot-dns-digitalocean/setup.py b/certbot-dns-digitalocean/setup.py deleted file mode 100644 index 106eb3cac93..00000000000 --- a/certbot-dns-digitalocean/setup.py +++ /dev/null @@ -1,73 +0,0 @@ -import os -import sys - -from setuptools import find_packages -from setuptools import setup - -version = '1.14.0.dev0' - -# Remember to update local-oldest-requirements.txt when changing the minimum -# acme/certbot version. -install_requires = [ - 'python-digitalocean>=1.11', # 1.15.0 or newer is recommended for TTL support - 'setuptools>=39.0.1', - 'zope.interface', -] - -if not os.environ.get('SNAP_BUILD'): - install_requires.extend([ - 'acme>=0.29.0', - 'certbot>=1.1.0', - ]) -elif 'bdist_wheel' in sys.argv[1:]: - raise RuntimeError('Unset SNAP_BUILD when building wheels ' - 'to include certbot dependencies.') -if os.environ.get('SNAP_BUILD'): - install_requires.append('packaging') - -docs_extras = [ - 'Sphinx>=1.0', # autodoc_member_order = 'bysource', autodoc_default_flags - 'sphinx_rtd_theme', -] - -setup( - name='certbot-dns-digitalocean', - version=version, - description="DigitalOcean DNS Authenticator plugin for Certbot", - url='https://github.com/certbot/certbot', - author="Certbot Project", - author_email='client-dev@letsencrypt.org', - license='Apache License 2.0', - python_requires='>=3.6', - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Environment :: Plugins', - 'Intended Audience :: System Administrators', - 'License :: OSI Approved :: Apache Software License', - 'Operating System :: POSIX :: Linux', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Topic :: Internet :: WWW/HTTP', - 'Topic :: Security', - 'Topic :: System :: Installation/Setup', - 'Topic :: System :: Networking', - 'Topic :: System :: Systems Administration', - 'Topic :: Utilities', - ], - - packages=find_packages(), - include_package_data=True, - install_requires=install_requires, - extras_require={ - 'docs': docs_extras, - }, - entry_points={ - 'certbot.plugins': [ - 'dns-digitalocean = certbot_dns_digitalocean._internal.dns_digitalocean:Authenticator', - ], - }, -) diff --git a/certbot-dns-dnsimple/setup.py b/certbot-dns-dnsimple/setup.py deleted file mode 100644 index 99a3c92a311..00000000000 --- a/certbot-dns-dnsimple/setup.py +++ /dev/null @@ -1,84 +0,0 @@ -import os -import sys - -from setuptools import find_packages -from setuptools import setup - -version = '1.14.0.dev0' - -# Remember to update local-oldest-requirements.txt when changing the minimum -# acme/certbot version. -install_requires = [ - 'setuptools>=39.0.1', - 'zope.interface', -] - -if not os.environ.get('SNAP_BUILD'): - install_requires.extend([ - 'acme>=0.31.0', - 'certbot>=1.1.0', - ]) -elif 'bdist_wheel' in sys.argv[1:]: - raise RuntimeError('Unset SNAP_BUILD when building wheels ' - 'to include certbot dependencies.') -if os.environ.get('SNAP_BUILD'): - install_requires.append('packaging') - -# This package normally depends on dns-lexicon>=3.2.1 to address the -# problem described in https://github.com/AnalogJ/lexicon/issues/387, -# however, the fix there has been backported to older versions of -# lexicon found in various Linux distros. This conditional helps us test -# that we've maintained compatibility with these versions of lexicon -# which allows us to potentially upgrade our packages in these distros -# as necessary. -if os.environ.get('CERTBOT_OLDEST') == '1': - install_requires.append('dns-lexicon>=2.2.1') -else: - install_requires.append('dns-lexicon>=3.2.1') - -docs_extras = [ - 'Sphinx>=1.0', # autodoc_member_order = 'bysource', autodoc_default_flags - 'sphinx_rtd_theme', -] - -setup( - name='certbot-dns-dnsimple', - version=version, - description="DNSimple DNS Authenticator plugin for Certbot", - url='https://github.com/certbot/certbot', - author="Certbot Project", - author_email='client-dev@letsencrypt.org', - license='Apache License 2.0', - python_requires='>=3.6', - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Environment :: Plugins', - 'Intended Audience :: System Administrators', - 'License :: OSI Approved :: Apache Software License', - 'Operating System :: POSIX :: Linux', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Topic :: Internet :: WWW/HTTP', - 'Topic :: Security', - 'Topic :: System :: Installation/Setup', - 'Topic :: System :: Networking', - 'Topic :: System :: Systems Administration', - 'Topic :: Utilities', - ], - - packages=find_packages(), - include_package_data=True, - install_requires=install_requires, - extras_require={ - 'docs': docs_extras, - }, - entry_points={ - 'certbot.plugins': [ - 'dns-dnsimple = certbot_dns_dnsimple._internal.dns_dnsimple:Authenticator', - ], - }, -) diff --git a/certbot-dns-dnsmadeeasy/setup.py b/certbot-dns-dnsmadeeasy/setup.py deleted file mode 100644 index b126b4e8fc9..00000000000 --- a/certbot-dns-dnsmadeeasy/setup.py +++ /dev/null @@ -1,73 +0,0 @@ -import os -import sys - -from setuptools import find_packages -from setuptools import setup - -version = '1.14.0.dev0' - -# Remember to update local-oldest-requirements.txt when changing the minimum -# acme/certbot version. -install_requires = [ - 'dns-lexicon>=2.2.1', # Support for >1 TXT record per name - 'setuptools>=39.0.1', - 'zope.interface', -] - -if not os.environ.get('SNAP_BUILD'): - install_requires.extend([ - 'acme>=0.31.0', - 'certbot>=1.1.0', - ]) -elif 'bdist_wheel' in sys.argv[1:]: - raise RuntimeError('Unset SNAP_BUILD when building wheels ' - 'to include certbot dependencies.') -if os.environ.get('SNAP_BUILD'): - install_requires.append('packaging') - -docs_extras = [ - 'Sphinx>=1.0', # autodoc_member_order = 'bysource', autodoc_default_flags - 'sphinx_rtd_theme', -] - -setup( - name='certbot-dns-dnsmadeeasy', - version=version, - description="DNS Made Easy DNS Authenticator plugin for Certbot", - url='https://github.com/certbot/certbot', - author="Certbot Project", - author_email='client-dev@letsencrypt.org', - license='Apache License 2.0', - python_requires='>=3.6', - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Environment :: Plugins', - 'Intended Audience :: System Administrators', - 'License :: OSI Approved :: Apache Software License', - 'Operating System :: POSIX :: Linux', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Topic :: Internet :: WWW/HTTP', - 'Topic :: Security', - 'Topic :: System :: Installation/Setup', - 'Topic :: System :: Networking', - 'Topic :: System :: Systems Administration', - 'Topic :: Utilities', - ], - - packages=find_packages(), - include_package_data=True, - install_requires=install_requires, - extras_require={ - 'docs': docs_extras, - }, - entry_points={ - 'certbot.plugins': [ - 'dns-dnsmadeeasy = certbot_dns_dnsmadeeasy._internal.dns_dnsmadeeasy:Authenticator', - ], - }, -) diff --git a/certbot-dns-gehirn/setup.py b/certbot-dns-gehirn/setup.py deleted file mode 100644 index cada7a85e85..00000000000 --- a/certbot-dns-gehirn/setup.py +++ /dev/null @@ -1,72 +0,0 @@ -import os -import sys - -from setuptools import find_packages -from setuptools import setup - -version = '1.14.0.dev0' - -# Please update tox.ini when modifying dependency version requirements -install_requires = [ - 'dns-lexicon>=2.1.22', - 'setuptools>=39.0.1', - 'zope.interface', -] - -if not os.environ.get('SNAP_BUILD'): - install_requires.extend([ - 'acme>=0.31.0', - 'certbot>=1.1.0', - ]) -elif 'bdist_wheel' in sys.argv[1:]: - raise RuntimeError('Unset SNAP_BUILD when building wheels ' - 'to include certbot dependencies.') -if os.environ.get('SNAP_BUILD'): - install_requires.append('packaging') - -docs_extras = [ - 'Sphinx>=1.0', # autodoc_member_order = 'bysource', autodoc_default_flags - 'sphinx_rtd_theme', -] - -setup( - name='certbot-dns-gehirn', - version=version, - description="Gehirn Infrastructure Service DNS Authenticator plugin for Certbot", - url='https://github.com/certbot/certbot', - author="Certbot Project", - author_email='client-dev@letsencrypt.org', - license='Apache License 2.0', - python_requires='>=3.6', - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Environment :: Plugins', - 'Intended Audience :: System Administrators', - 'License :: OSI Approved :: Apache Software License', - 'Operating System :: POSIX :: Linux', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Topic :: Internet :: WWW/HTTP', - 'Topic :: Security', - 'Topic :: System :: Installation/Setup', - 'Topic :: System :: Networking', - 'Topic :: System :: Systems Administration', - 'Topic :: Utilities', - ], - - packages=find_packages(), - include_package_data=True, - install_requires=install_requires, - extras_require={ - 'docs': docs_extras, - }, - entry_points={ - 'certbot.plugins': [ - 'dns-gehirn = certbot_dns_gehirn._internal.dns_gehirn:Authenticator', - ], - }, -) diff --git a/certbot-dns-google/setup.py b/certbot-dns-google/setup.py deleted file mode 100644 index e8b26eceb76..00000000000 --- a/certbot-dns-google/setup.py +++ /dev/null @@ -1,76 +0,0 @@ -import os -import sys - -from setuptools import find_packages -from setuptools import setup - -version = '1.14.0.dev0' - -# Remember to update local-oldest-requirements.txt when changing the minimum -# acme/certbot version. -install_requires = [ - 'google-api-python-client>=1.5.5', - 'oauth2client>=4.0', - 'setuptools>=39.0.1', - 'zope.interface', - # already a dependency of google-api-python-client, but added for consistency - 'httplib2' -] - -if not os.environ.get('SNAP_BUILD'): - install_requires.extend([ - 'acme>=0.29.0', - 'certbot>=1.1.0', - ]) -elif 'bdist_wheel' in sys.argv[1:]: - raise RuntimeError('Unset SNAP_BUILD when building wheels ' - 'to include certbot dependencies.') -if os.environ.get('SNAP_BUILD'): - install_requires.append('packaging') - -docs_extras = [ - 'Sphinx>=1.0', # autodoc_member_order = 'bysource', autodoc_default_flags - 'sphinx_rtd_theme', -] - -setup( - name='certbot-dns-google', - version=version, - description="Google Cloud DNS Authenticator plugin for Certbot", - url='https://github.com/certbot/certbot', - author="Certbot Project", - author_email='client-dev@letsencrypt.org', - license='Apache License 2.0', - python_requires='>=3.6', - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Environment :: Plugins', - 'Intended Audience :: System Administrators', - 'License :: OSI Approved :: Apache Software License', - 'Operating System :: POSIX :: Linux', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Topic :: Internet :: WWW/HTTP', - 'Topic :: Security', - 'Topic :: System :: Installation/Setup', - 'Topic :: System :: Networking', - 'Topic :: System :: Systems Administration', - 'Topic :: Utilities', - ], - - packages=find_packages(), - include_package_data=True, - install_requires=install_requires, - extras_require={ - 'docs': docs_extras, - }, - entry_points={ - 'certbot.plugins': [ - 'dns-google = certbot_dns_google._internal.dns_google:Authenticator', - ], - }, -) diff --git a/certbot-dns-linode/setup.py b/certbot-dns-linode/setup.py deleted file mode 100644 index 63da31df29c..00000000000 --- a/certbot-dns-linode/setup.py +++ /dev/null @@ -1,72 +0,0 @@ -import os -import sys - -from setuptools import find_packages -from setuptools import setup - -version = '1.14.0.dev0' - -# Please update tox.ini when modifying dependency version requirements -install_requires = [ - 'dns-lexicon>=2.2.3', - 'setuptools>=39.0.1', - 'zope.interface', -] - -if not os.environ.get('SNAP_BUILD'): - install_requires.extend([ - 'acme>=0.31.0', - 'certbot>=1.1.0', - ]) -elif 'bdist_wheel' in sys.argv[1:]: - raise RuntimeError('Unset SNAP_BUILD when building wheels ' - 'to include certbot dependencies.') -if os.environ.get('SNAP_BUILD'): - install_requires.append('packaging') - -docs_extras = [ - 'Sphinx>=1.0', # autodoc_member_order = 'bysource', autodoc_default_flags - 'sphinx_rtd_theme', -] - -setup( - name='certbot-dns-linode', - version=version, - description="Linode DNS Authenticator plugin for Certbot", - url='https://github.com/certbot/certbot', - author="Certbot Project", - author_email='client-dev@letsencrypt.org', - license='Apache License 2.0', - python_requires='>=3.6', - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Environment :: Plugins', - 'Intended Audience :: System Administrators', - 'License :: OSI Approved :: Apache Software License', - 'Operating System :: POSIX :: Linux', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Topic :: Internet :: WWW/HTTP', - 'Topic :: Security', - 'Topic :: System :: Installation/Setup', - 'Topic :: System :: Networking', - 'Topic :: System :: Systems Administration', - 'Topic :: Utilities', - ], - - packages=find_packages(), - include_package_data=True, - install_requires=install_requires, - extras_require={ - 'docs': docs_extras, - }, - entry_points={ - 'certbot.plugins': [ - 'dns-linode = certbot_dns_linode._internal.dns_linode:Authenticator', - ], - }, -) diff --git a/certbot-dns-luadns/setup.py b/certbot-dns-luadns/setup.py deleted file mode 100644 index 61b9dfa785e..00000000000 --- a/certbot-dns-luadns/setup.py +++ /dev/null @@ -1,73 +0,0 @@ -import os -import sys - -from setuptools import find_packages -from setuptools import setup - -version = '1.14.0.dev0' - -# Remember to update local-oldest-requirements.txt when changing the minimum -# acme/certbot version. -install_requires = [ - 'dns-lexicon>=2.2.1', # Support for >1 TXT record per name - 'setuptools>=39.0.1', - 'zope.interface', -] - -if not os.environ.get('SNAP_BUILD'): - install_requires.extend([ - 'acme>=0.31.0', - 'certbot>=1.1.0', - ]) -elif 'bdist_wheel' in sys.argv[1:]: - raise RuntimeError('Unset SNAP_BUILD when building wheels ' - 'to include certbot dependencies.') -if os.environ.get('SNAP_BUILD'): - install_requires.append('packaging') - -docs_extras = [ - 'Sphinx>=1.0', # autodoc_member_order = 'bysource', autodoc_default_flags - 'sphinx_rtd_theme', -] - -setup( - name='certbot-dns-luadns', - version=version, - description="LuaDNS Authenticator plugin for Certbot", - url='https://github.com/certbot/certbot', - author="Certbot Project", - author_email='client-dev@letsencrypt.org', - license='Apache License 2.0', - python_requires='>=3.6', - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Environment :: Plugins', - 'Intended Audience :: System Administrators', - 'License :: OSI Approved :: Apache Software License', - 'Operating System :: POSIX :: Linux', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Topic :: Internet :: WWW/HTTP', - 'Topic :: Security', - 'Topic :: System :: Installation/Setup', - 'Topic :: System :: Networking', - 'Topic :: System :: Systems Administration', - 'Topic :: Utilities', - ], - - packages=find_packages(), - include_package_data=True, - install_requires=install_requires, - extras_require={ - 'docs': docs_extras, - }, - entry_points={ - 'certbot.plugins': [ - 'dns-luadns = certbot_dns_luadns._internal.dns_luadns:Authenticator', - ], - }, -) diff --git a/certbot-dns-nsone/setup.py b/certbot-dns-nsone/setup.py deleted file mode 100644 index d60412f27bd..00000000000 --- a/certbot-dns-nsone/setup.py +++ /dev/null @@ -1,73 +0,0 @@ -import os -import sys - -from setuptools import find_packages -from setuptools import setup - -version = '1.14.0.dev0' - -# Remember to update local-oldest-requirements.txt when changing the minimum -# acme/certbot version. -install_requires = [ - 'dns-lexicon>=2.2.1', # Support for >1 TXT record per name - 'setuptools>=39.0.1', - 'zope.interface', -] - -if not os.environ.get('SNAP_BUILD'): - install_requires.extend([ - 'acme>=0.31.0', - 'certbot>=1.1.0', - ]) -elif 'bdist_wheel' in sys.argv[1:]: - raise RuntimeError('Unset SNAP_BUILD when building wheels ' - 'to include certbot dependencies.') -if os.environ.get('SNAP_BUILD'): - install_requires.append('packaging') - -docs_extras = [ - 'Sphinx>=1.0', # autodoc_member_order = 'bysource', autodoc_default_flags - 'sphinx_rtd_theme', -] - -setup( - name='certbot-dns-nsone', - version=version, - description="NS1 DNS Authenticator plugin for Certbot", - url='https://github.com/certbot/certbot', - author="Certbot Project", - author_email='client-dev@letsencrypt.org', - license='Apache License 2.0', - python_requires='>=3.6', - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Environment :: Plugins', - 'Intended Audience :: System Administrators', - 'License :: OSI Approved :: Apache Software License', - 'Operating System :: POSIX :: Linux', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Topic :: Internet :: WWW/HTTP', - 'Topic :: Security', - 'Topic :: System :: Installation/Setup', - 'Topic :: System :: Networking', - 'Topic :: System :: Systems Administration', - 'Topic :: Utilities', - ], - - packages=find_packages(), - include_package_data=True, - install_requires=install_requires, - extras_require={ - 'docs': docs_extras, - }, - entry_points={ - 'certbot.plugins': [ - 'dns-nsone = certbot_dns_nsone._internal.dns_nsone:Authenticator', - ], - }, -) diff --git a/certbot-dns-ovh/setup.py b/certbot-dns-ovh/setup.py deleted file mode 100644 index 4d6131ff76b..00000000000 --- a/certbot-dns-ovh/setup.py +++ /dev/null @@ -1,73 +0,0 @@ -import os -import sys - -from setuptools import find_packages -from setuptools import setup - -version = '1.14.0.dev0' - -# Remember to update local-oldest-requirements.txt when changing the minimum -# acme/certbot version. -install_requires = [ - 'dns-lexicon>=2.7.14', # Correct proxy use on OVH provider - 'setuptools>=39.0.1', - 'zope.interface', -] - -if not os.environ.get('SNAP_BUILD'): - install_requires.extend([ - 'acme>=0.31.0', - 'certbot>=1.1.0', - ]) -elif 'bdist_wheel' in sys.argv[1:]: - raise RuntimeError('Unset SNAP_BUILD when building wheels ' - 'to include certbot dependencies.') -if os.environ.get('SNAP_BUILD'): - install_requires.append('packaging') - -docs_extras = [ - 'Sphinx>=1.0', # autodoc_member_order = 'bysource', autodoc_default_flags - 'sphinx_rtd_theme', -] - -setup( - name='certbot-dns-ovh', - version=version, - description="OVH DNS Authenticator plugin for Certbot", - url='https://github.com/certbot/certbot', - author="Certbot Project", - author_email='client-dev@letsencrypt.org', - license='Apache License 2.0', - python_requires='>=3.6', - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Environment :: Plugins', - 'Intended Audience :: System Administrators', - 'License :: OSI Approved :: Apache Software License', - 'Operating System :: POSIX :: Linux', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Topic :: Internet :: WWW/HTTP', - 'Topic :: Security', - 'Topic :: System :: Installation/Setup', - 'Topic :: System :: Networking', - 'Topic :: System :: Systems Administration', - 'Topic :: Utilities', - ], - - packages=find_packages(), - include_package_data=True, - install_requires=install_requires, - extras_require={ - 'docs': docs_extras, - }, - entry_points={ - 'certbot.plugins': [ - 'dns-ovh = certbot_dns_ovh._internal.dns_ovh:Authenticator', - ], - }, -) diff --git a/certbot-dns-rfc2136/setup.py b/certbot-dns-rfc2136/setup.py deleted file mode 100644 index 18d006732f6..00000000000 --- a/certbot-dns-rfc2136/setup.py +++ /dev/null @@ -1,73 +0,0 @@ -import os -import sys - -from setuptools import find_packages -from setuptools import setup - -version = '1.14.0.dev0' - -# Remember to update local-oldest-requirements.txt when changing the minimum -# acme/certbot version. -install_requires = [ - 'dnspython', - 'setuptools>=39.0.1', - 'zope.interface', -] - -if not os.environ.get('SNAP_BUILD'): - install_requires.extend([ - 'acme>=0.29.0', - 'certbot>=1.1.0', - ]) -elif 'bdist_wheel' in sys.argv[1:]: - raise RuntimeError('Unset SNAP_BUILD when building wheels ' - 'to include certbot dependencies.') -if os.environ.get('SNAP_BUILD'): - install_requires.append('packaging') - -docs_extras = [ - 'Sphinx>=1.0', # autodoc_member_order = 'bysource', autodoc_default_flags - 'sphinx_rtd_theme', -] - -setup( - name='certbot-dns-rfc2136', - version=version, - description="RFC 2136 DNS Authenticator plugin for Certbot", - url='https://github.com/certbot/certbot', - author="Certbot Project", - author_email='client-dev@letsencrypt.org', - license='Apache License 2.0', - python_requires='>=3.6', - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Environment :: Plugins', - 'Intended Audience :: System Administrators', - 'License :: OSI Approved :: Apache Software License', - 'Operating System :: POSIX :: Linux', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Topic :: Internet :: WWW/HTTP', - 'Topic :: Security', - 'Topic :: System :: Installation/Setup', - 'Topic :: System :: Networking', - 'Topic :: System :: Systems Administration', - 'Topic :: Utilities', - ], - - packages=find_packages(), - include_package_data=True, - install_requires=install_requires, - extras_require={ - 'docs': docs_extras, - }, - entry_points={ - 'certbot.plugins': [ - 'dns-rfc2136 = certbot_dns_rfc2136._internal.dns_rfc2136:Authenticator', - ], - }, -) diff --git a/certbot-dns-route53/setup.py b/certbot-dns-route53/setup.py deleted file mode 100644 index fdc931bbe42..00000000000 --- a/certbot-dns-route53/setup.py +++ /dev/null @@ -1,74 +0,0 @@ -import os -import sys - -from setuptools import find_packages -from setuptools import setup - -version = '1.14.0.dev0' - -# Remember to update local-oldest-requirements.txt when changing the minimum -# acme/certbot version. -install_requires = [ - 'boto3', - 'setuptools>=39.0.1', - 'zope.interface', -] - -if not os.environ.get('SNAP_BUILD'): - install_requires.extend([ - 'acme>=0.29.0', - 'certbot>=1.1.0', - ]) -elif 'bdist_wheel' in sys.argv[1:]: - raise RuntimeError('Unset SNAP_BUILD when building wheels ' - 'to include certbot dependencies.') -if os.environ.get('SNAP_BUILD'): - install_requires.append('packaging') - -docs_extras = [ - 'Sphinx>=1.0', # autodoc_member_order = 'bysource', autodoc_default_flags - 'sphinx_rtd_theme', -] - -setup( - name='certbot-dns-route53', - version=version, - description="Route53 DNS Authenticator plugin for Certbot", - url='https://github.com/certbot/certbot', - author="Certbot Project", - author_email='client-dev@letsencrypt.org', - license='Apache License 2.0', - python_requires='>=3.6', - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Environment :: Plugins', - 'Intended Audience :: System Administrators', - 'License :: OSI Approved :: Apache Software License', - 'Operating System :: POSIX :: Linux', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Topic :: Internet :: WWW/HTTP', - 'Topic :: Security', - 'Topic :: System :: Installation/Setup', - 'Topic :: System :: Networking', - 'Topic :: System :: Systems Administration', - 'Topic :: Utilities', - ], - packages=find_packages(), - include_package_data=True, - install_requires=install_requires, - keywords=['certbot', 'route53', 'aws'], - extras_require={ - 'docs': docs_extras, - }, - entry_points={ - 'certbot.plugins': [ - 'dns-route53 = certbot_dns_route53._internal.dns_route53:Authenticator', - 'certbot-route53:auth = certbot_dns_route53.authenticator:Authenticator' - ], - }, -) diff --git a/certbot-dns-sakuracloud/setup.py b/certbot-dns-sakuracloud/setup.py deleted file mode 100644 index 55f140d7648..00000000000 --- a/certbot-dns-sakuracloud/setup.py +++ /dev/null @@ -1,72 +0,0 @@ -import os -import sys - -from setuptools import find_packages -from setuptools import setup - -version = '1.14.0.dev0' - -# Please update tox.ini when modifying dependency version requirements -install_requires = [ - 'dns-lexicon>=2.1.23', - 'setuptools>=39.0.1', - 'zope.interface', -] - -if not os.environ.get('SNAP_BUILD'): - install_requires.extend([ - 'acme>=0.31.0', - 'certbot>=1.1.0', - ]) -elif 'bdist_wheel' in sys.argv[1:]: - raise RuntimeError('Unset SNAP_BUILD when building wheels ' - 'to include certbot dependencies.') -if os.environ.get('SNAP_BUILD'): - install_requires.append('packaging') - -docs_extras = [ - 'Sphinx>=1.0', # autodoc_member_order = 'bysource', autodoc_default_flags - 'sphinx_rtd_theme', -] - -setup( - name='certbot-dns-sakuracloud', - version=version, - description="Sakura Cloud DNS Authenticator plugin for Certbot", - url='https://github.com/certbot/certbot', - author="Certbot Project", - author_email='client-dev@letsencrypt.org', - license='Apache License 2.0', - python_requires='>=3.6', - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Environment :: Plugins', - 'Intended Audience :: System Administrators', - 'License :: OSI Approved :: Apache Software License', - 'Operating System :: POSIX :: Linux', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Topic :: Internet :: WWW/HTTP', - 'Topic :: Security', - 'Topic :: System :: Installation/Setup', - 'Topic :: System :: Networking', - 'Topic :: System :: Systems Administration', - 'Topic :: Utilities', - ], - - packages=find_packages(), - include_package_data=True, - install_requires=install_requires, - extras_require={ - 'docs': docs_extras, - }, - entry_points={ - 'certbot.plugins': [ - 'dns-sakuracloud = certbot_dns_sakuracloud._internal.dns_sakuracloud:Authenticator', - ], - }, -) diff --git a/certbot-nginx/setup.py b/certbot-nginx/setup.py deleted file mode 100644 index 8b638f28e5c..00000000000 --- a/certbot-nginx/setup.py +++ /dev/null @@ -1,54 +0,0 @@ -from setuptools import find_packages -from setuptools import setup - -version = '1.14.0.dev0' - -# Remember to update local-oldest-requirements.txt when changing the minimum -# acme/certbot version. -install_requires = [ - 'acme>=1.4.0', - 'certbot>=1.6.0', - 'PyOpenSSL>=17.3.0', - 'pyparsing>=2.2.0', - 'setuptools>=39.0.1', - 'zope.interface', -] - -setup( - name='certbot-nginx', - version=version, - description="Nginx plugin for Certbot", - url='https://github.com/letsencrypt/letsencrypt', - author="Certbot Project", - author_email='client-dev@letsencrypt.org', - license='Apache License 2.0', - python_requires='>=3.6', - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Environment :: Plugins', - 'Intended Audience :: System Administrators', - 'License :: OSI Approved :: Apache Software License', - 'Operating System :: POSIX :: Linux', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Topic :: Internet :: WWW/HTTP', - 'Topic :: Security', - 'Topic :: System :: Installation/Setup', - 'Topic :: System :: Networking', - 'Topic :: System :: Systems Administration', - 'Topic :: Utilities', - ], - - packages=find_packages(), - include_package_data=True, - install_requires=install_requires, - entry_points={ - 'certbot.plugins': [ - 'nginx = certbot_nginx._internal.configurator:NginxConfigurator', - ], - }, -) diff --git a/certbot/setup.py b/certbot/setup.py deleted file mode 100644 index 8b2874f20df..00000000000 --- a/certbot/setup.py +++ /dev/null @@ -1,150 +0,0 @@ -import codecs -from distutils.version import LooseVersion -import os -import re -import sys - -from setuptools import __version__ as setuptools_version -from setuptools import find_packages -from setuptools import setup - -# Workaround for https://bugs.python.org/issue8876, see -# https://bugs.python.org/issue8876#msg208792 -# This can be removed when using Python 2.7.9 or later: -# https://hg.python.org/cpython/raw-file/v2.7.9/Misc/NEWS -if os.path.abspath(__file__).split(os.path.sep)[1] == 'vagrant': - del os.link - - -def read_file(filename, encoding='utf8'): - """Read unicode from given file.""" - with codecs.open(filename, encoding=encoding) as fd: - return fd.read() - - -here = os.path.abspath(os.path.dirname(__file__)) - -# read version number (and other metadata) from package init -init_fn = os.path.join(here, 'certbot', '__init__.py') -meta = dict(re.findall(r"""__([a-z]+)__ = '([^']+)""", read_file(init_fn))) - -readme = read_file(os.path.join(here, 'README.rst')) -version = meta['version'] - -# This package relies on PyOpenSSL and requests, however, it isn't specified -# here to avoid masking the more specific request requirements in acme. See -# https://github.com/pypa/pip/issues/988 for more info. -install_requires = [ - 'acme>=1.8.0', - # We technically need ConfigArgParse 0.10.0 for Python 2.6 support, but - # saying so here causes a runtime error against our temporary fork of 0.9.3 - # in which we added 2.6 support (see #2243), so we relax the requirement. - 'ConfigArgParse>=0.9.3', - 'configobj>=5.0.6', - 'cryptography>=2.1.4', - 'distro>=1.0.1', - # 1.1.0+ is required to avoid the warnings described at - # https://github.com/certbot/josepy/issues/13. - 'josepy>=1.1.0', - 'parsedatetime>=2.4', - 'pyrfc3339', - 'pytz', - 'setuptools>=39.0.1', - 'zope.component', - 'zope.interface', -] - -# Add pywin32 on Windows platforms to handle low-level system calls. -# This dependency needs to be added using environment markers to avoid its installation on Linux. -# However environment markers are supported only with setuptools >= 36.2. -# So this dependency is not added for old Linux distributions with old setuptools, -# in order to allow these systems to build certbot from sources. -pywin32_req = 'pywin32>=300' # do not forget to edit pywin32 dependency accordingly in windows-installer/construct.py -setuptools_known_environment_markers = (LooseVersion(setuptools_version) >= LooseVersion('36.2')) -if setuptools_known_environment_markers: - install_requires.append(pywin32_req + " ; sys_platform == 'win32'") -elif 'bdist_wheel' in sys.argv[1:]: - raise RuntimeError('Error, you are trying to build certbot wheels using an old version ' - 'of setuptools. Version 36.2+ of setuptools is required.') -elif os.name == 'nt': - # This branch exists to improve this package's behavior on Windows. Without - # it, if the sdist is installed on Windows with an old version of - # setuptools, pywin32 will not be specified as a dependency. - install_requires.append(pywin32_req) - -dev_extras = [ - 'astroid', - 'azure-devops', - 'coverage', - 'ipdb', - 'mypy', - 'PyGithub', - 'pylint', - 'pytest', - 'pytest-cov', - 'pytest-xdist', - 'tox', - 'twine', - 'wheel', -] - -docs_extras = [ - # If you have Sphinx<1.5.1, you need docutils<0.13.1 - # https://github.com/sphinx-doc/sphinx/issues/3212 - 'repoze.sphinx.autointerface', - 'Sphinx>=1.2', # Annotation support - 'sphinx_rtd_theme', -] - -setup( - name='certbot', - version=version, - description="ACME client", - long_description=readme, - url='https://github.com/letsencrypt/letsencrypt', - author="Certbot Project", - author_email='client-dev@letsencrypt.org', - license='Apache License 2.0', - python_requires='>=3.6', - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Environment :: Console', - 'Environment :: Console :: Curses', - 'Intended Audience :: System Administrators', - 'License :: OSI Approved :: Apache Software License', - 'Operating System :: POSIX :: Linux', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Topic :: Internet :: WWW/HTTP', - 'Topic :: Security', - 'Topic :: System :: Installation/Setup', - 'Topic :: System :: Networking', - 'Topic :: System :: Systems Administration', - 'Topic :: Utilities', - ], - - packages=find_packages(exclude=['docs', 'examples', 'tests', 'venv']), - include_package_data=True, - - install_requires=install_requires, - extras_require={ - 'dev': dev_extras, - 'docs': docs_extras, - }, - - entry_points={ - 'console_scripts': [ - 'certbot = certbot.main:main', - ], - 'certbot.plugins': [ - 'manual = certbot._internal.plugins.manual:Authenticator', - 'null = certbot._internal.plugins.null:Installer', - 'standalone = certbot._internal.plugins.standalone:Authenticator', - 'webroot = certbot._internal.plugins.webroot:Authenticator', - ], - }, -)