certbot/acme/setup.py

70 lines
2.2 KiB
Python
Raw Permalink Normal View History

import sys
from setuptools import find_packages
from setuptools import setup
2023-10-03 14:22:04 -04:00
version = '2.8.0.dev0'
install_requires = [
2023-04-06 20:28:17 -04:00
'cryptography>=3.2.1',
'josepy>=1.13.0',
# 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',
'pytz>=2019.3',
'requests>=2.20.0',
'setuptools>=41.6.0',
]
2015-10-18 09:49:26 -04:00
docs_extras = [
'Sphinx>=1.0', # autodoc_member_order = 'bysource', autodoc_default_flags
'sphinx_rtd_theme',
]
test_extras = [
# 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',
'pytest',
'pytest-xdist',
'typing-extensions',
]
setup(
name='acme',
version=version,
2015-10-18 09:50:08 -04:00
description='ACME protocol implementation in Python',
url='https://github.com/certbot/certbot',
author="Certbot Project",
author_email='certbot-dev@eff.org',
2015-09-26 18:37:50 -04:00
license='Apache License 2.0',
python_requires='>=3.8',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
2015-10-11 12:03:32 -04:00
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Security',
],
packages=find_packages(),
2015-09-27 04:10:39 -04:00
include_package_data=True,
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,
'test': test_extras,
2015-07-11 12:11:09 -04:00
},
)