2019-12-09 15:50:20 -05:00
|
|
|
import sys
|
|
|
|
|
|
2015-07-10 12:34:08 -04:00
|
|
|
from setuptools import find_packages
|
2019-12-09 15:50:20 -05:00
|
|
|
from setuptools import setup
|
2015-07-10 12:34:08 -04:00
|
|
|
|
2023-10-03 14:22:04 -04:00
|
|
|
version = '2.8.0.dev0'
|
2015-09-26 18:27:04 -04:00
|
|
|
|
2015-07-10 12:34:08 -04:00
|
|
|
install_requires = [
|
2023-04-06 20:28:17 -04:00
|
|
|
'cryptography>=3.2.1',
|
2022-03-12 04:31:54 -05:00
|
|
|
'josepy>=1.13.0',
|
2023-03-27 14:27:48 -04:00
|
|
|
# pyOpenSSL 23.1.0 is a bad release: https://github.com/pyca/pyopenssl/issues/1199
|
|
|
|
|
'PyOpenSSL>=17.5.0,!=23.1.0',
|
2015-09-01 15:57:41 -04:00
|
|
|
'pyrfc3339',
|
2022-02-28 18:23:30 -05:00
|
|
|
'pytz>=2019.3',
|
|
|
|
|
'requests>=2.20.0',
|
|
|
|
|
'setuptools>=41.6.0',
|
2015-07-10 12:34:08 -04:00
|
|
|
]
|
|
|
|
|
|
2015-10-18 09:49:26 -04:00
|
|
|
docs_extras = [
|
|
|
|
|
'Sphinx>=1.0', # autodoc_member_order = 'bysource', autodoc_default_flags
|
|
|
|
|
'sphinx_rtd_theme',
|
|
|
|
|
]
|
|
|
|
|
|
2021-06-11 16:17:50 -04:00
|
|
|
test_extras = [
|
2023-09-07 14:38:44 -04:00
|
|
|
# In theory we could scope importlib_resources to env marker 'python_version<"3.9"'. But this
|
|
|
|
|
# makes the pinning mechanism emit warnings when running `poetry lock` because in the corner
|
|
|
|
|
# case of an extra dependency with env marker coming from a setup.py file, it generate the
|
|
|
|
|
# invalid requirement 'importlib_resource>=1.3.1;python<=3.9;extra=="test"'.
|
|
|
|
|
# To fix the issue, we do not pass the env marker. This is fine because:
|
|
|
|
|
# - importlib_resources can be applied to any Python version,
|
|
|
|
|
# - this is a "test" extra dependency for limited audience,
|
|
|
|
|
# - it does not change anything at the end for the generated requirement files.
|
|
|
|
|
'importlib_resources>=1.3.1',
|
2021-06-11 16:17:50 -04:00
|
|
|
'pytest',
|
|
|
|
|
'pytest-xdist',
|
2022-01-24 18:16:19 -05:00
|
|
|
'typing-extensions',
|
2021-06-11 16:17:50 -04:00
|
|
|
]
|
|
|
|
|
|
2015-07-10 12:34:08 -04:00
|
|
|
setup(
|
|
|
|
|
name='acme',
|
2015-09-26 18:27:04 -04:00
|
|
|
version=version,
|
2015-10-18 09:50:08 -04:00
|
|
|
description='ACME protocol implementation in Python',
|
2023-06-07 20:27:28 -04:00
|
|
|
url='https://github.com/certbot/certbot',
|
2016-04-14 19:56:02 -04:00
|
|
|
author="Certbot Project",
|
2021-05-03 15:38:54 -04:00
|
|
|
author_email='certbot-dev@eff.org',
|
2015-09-26 18:37:50 -04:00
|
|
|
license='Apache License 2.0',
|
2023-10-13 09:57:42 -04:00
|
|
|
python_requires='>=3.8',
|
2015-09-26 19:00:25 -04:00
|
|
|
classifiers=[
|
2018-07-10 16:52:58 -04:00
|
|
|
'Development Status :: 5 - Production/Stable',
|
2015-09-26 19:00:25 -04:00
|
|
|
'Intended Audience :: Developers',
|
|
|
|
|
'License :: OSI Approved :: Apache Software License',
|
|
|
|
|
'Programming Language :: Python',
|
2015-10-11 12:03:32 -04:00
|
|
|
'Programming Language :: Python :: 3',
|
2019-09-24 14:38:38 -04:00
|
|
|
'Programming Language :: Python :: 3.8',
|
2020-11-19 15:48:36 -05:00
|
|
|
'Programming Language :: Python :: 3.9',
|
2021-11-08 18:55:32 -05:00
|
|
|
'Programming Language :: Python :: 3.10',
|
2022-11-17 15:55:27 -05:00
|
|
|
'Programming Language :: Python :: 3.11',
|
2015-09-26 19:00:25 -04:00
|
|
|
'Topic :: Internet :: WWW/HTTP',
|
|
|
|
|
'Topic :: Security',
|
|
|
|
|
],
|
2015-09-26 18:49:46 -04:00
|
|
|
|
2015-07-10 12:34:08 -04:00
|
|
|
packages=find_packages(),
|
2015-09-27 04:10:39 -04:00
|
|
|
include_package_data=True,
|
2015-07-10 12:34:08 -04:00
|
|
|
install_requires=install_requires,
|
2015-07-11 12:11:09 -04:00
|
|
|
extras_require={
|
2015-10-18 09:49:26 -04:00
|
|
|
'docs': docs_extras,
|
2021-06-11 16:17:50 -04:00
|
|
|
'test': test_extras,
|
2015-07-11 12:11:09 -04:00
|
|
|
},
|
2015-07-10 12:34:08 -04:00
|
|
|
)
|