2020-06-19 11:11:35 -04:00
|
|
|
from distutils.version import LooseVersion
|
2015-08-28 02:40:19 -04:00
|
|
|
import sys
|
|
|
|
|
|
2020-04-15 14:40:03 -04:00
|
|
|
from setuptools import __version__ as setuptools_version
|
2015-07-14 21:04:43 -04:00
|
|
|
from setuptools import find_packages
|
2019-12-09 15:50:20 -05:00
|
|
|
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-09-26 18:27:04 -04:00
|
|
|
|
2015-07-14 21:04:43 -04:00
|
|
|
install_requires = [
|
2016-06-03 19:35:10 -04:00
|
|
|
'certbot',
|
|
|
|
|
'certbot-apache',
|
2017-01-17 15:13:10 -05:00
|
|
|
'six',
|
2015-12-23 18:30:51 -05:00
|
|
|
'requests',
|
2015-07-14 21:04:43 -04:00
|
|
|
'zope.interface',
|
|
|
|
|
]
|
|
|
|
|
|
2020-06-19 11:11:35 -04:00
|
|
|
setuptools_known_environment_markers = (LooseVersion(setuptools_version) >= LooseVersion('36.2'))
|
2020-04-15 14:40:03 -04:00
|
|
|
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')
|
|
|
|
|
|
2015-12-23 18:30:51 -05:00
|
|
|
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(
|
2016-04-13 19:58:21 -04:00
|
|
|
name='certbot-compatibility-test',
|
2015-09-26 18:27:04 -04:00
|
|
|
version=version,
|
2016-04-13 19:59:37 -04:00
|
|
|
description="Compatibility tests for Certbot",
|
2015-09-26 18:49:46 -04:00
|
|
|
url='https://github.com/letsencrypt/letsencrypt',
|
2016-04-14 19:56:02 -04:00
|
|
|
author="Certbot Project",
|
2015-09-26 18:49:46 -04:00
|
|
|
author_email='client-dev@letsencrypt.org',
|
2015-09-26 18:37:50 -04:00
|
|
|
license='Apache License 2.0',
|
2020-08-16 16:19:08 -04:00
|
|
|
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*',
|
2015-09-26 19:00:25 -04:00
|
|
|
classifiers=[
|
2015-09-26 19:02:41 -04:00
|
|
|
'Development Status :: 3 - Alpha',
|
2015-09-26 19:00:25 -04:00
|
|
|
'Intended Audience :: Developers',
|
|
|
|
|
'License :: OSI Approved :: Apache Software License',
|
|
|
|
|
'Programming Language :: Python',
|
|
|
|
|
'Programming Language :: Python :: 2',
|
|
|
|
|
'Programming Language :: Python :: 2.7',
|
2017-04-28 19:06:45 -04:00
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
|
'Programming Language :: Python :: 3.6',
|
2018-07-09 12:17:03 -04:00
|
|
|
'Programming Language :: Python :: 3.7',
|
2019-09-24 14:38:38 -04:00
|
|
|
'Programming Language :: Python :: 3.8',
|
2020-10-21 18:41:58 -04:00
|
|
|
'Programming Language :: Python :: 3.9',
|
2015-09-26 19:00:25 -04:00
|
|
|
'Topic :: Internet :: WWW/HTTP',
|
|
|
|
|
'Topic :: Security',
|
|
|
|
|
],
|
2015-09-26 18:49:46 -04:00
|
|
|
|
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': [
|
2016-04-13 19:58:21 -04:00
|
|
|
'certbot-compatibility-test = certbot_compatibility_test.test_driver:main',
|
2015-07-14 21:04:43 -04:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
)
|