certbot/certbot-compatibility-test/setup.py

67 lines
2.2 KiB
Python
Raw Permalink Normal View History

from distutils.version import LooseVersion
import sys
from setuptools import __version__ as setuptools_version
2015-07-14 21:04:43 -04:00
from setuptools import find_packages
from setuptools import setup
2015-07-14 21:04:43 -04:00
2020-10-06 15:15:29 -04:00
version = '1.10.0.dev0'
2015-07-14 21:04:43 -04:00
install_requires = [
2016-06-03 19:35:10 -04:00
'certbot',
'certbot-apache',
'six',
'requests',
2015-07-14 21:04:43 -04:00
'zope.interface',
]
setuptools_known_environment_markers = (LooseVersion(setuptools_version) >= LooseVersion('36.2'))
if setuptools_known_environment_markers:
install_requires.append('mock ; python_version < "3.3"')
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 sys.version_info < (3,3):
install_requires.append('mock')
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')
2015-10-18 09:49:26 -04:00
2015-07-14 21:04:43 -04:00
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',
2015-09-26 18:37:50 -04:00
license='Apache License 2.0',
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*',
classifiers=[
2015-09-26 19:02:41 -04:00
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
2020-10-21 18:41:58 -04:00
'Programming Language :: Python :: 3.9',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Security',
],
2015-07-14 21:04:43 -04:00
packages=find_packages(),
2015-09-27 04:10:39 -04:00
include_package_data=True,
2015-07-14 21:04:43 -04:00
install_requires=install_requires,
entry_points={
'console_scripts': [
'certbot-compatibility-test = certbot_compatibility_test.test_driver:main',
2015-07-14 21:04:43 -04:00
],
},
)