mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 15:22:38 -04:00
Don't include certbot deps when EXCLUDE_CERTBOT_DEPS is set
This commit is contained in:
parent
ad8ffc1bf0
commit
20aa4212ce
1 changed files with 9 additions and 2 deletions
|
|
@ -12,12 +12,19 @@ version = '1.6.0.dev0'
|
|||
# Remember to update local-oldest-requirements.txt when changing the minimum
|
||||
# acme/certbot version.
|
||||
install_requires = [
|
||||
'acme>=0.31.0',
|
||||
'certbot>=1.1.0',
|
||||
'setuptools',
|
||||
'zope.interface',
|
||||
]
|
||||
|
||||
if not os.environ.get('EXCLUDE_CERTBOT_DEPS'):
|
||||
install_requires.extend([
|
||||
'acme>=0.31.0',
|
||||
'certbot>=1.1.0',
|
||||
])
|
||||
elif 'bdist_wheel' in sys.argv[1:]:
|
||||
raise RuntimeError('Unset EXCLUDE_CERTBOT_DEPS when building wheels '
|
||||
'to include certbot dependencies.')
|
||||
|
||||
setuptools_known_environment_markers = (StrictVersion(setuptools_version) >= StrictVersion('36.2'))
|
||||
if setuptools_known_environment_markers:
|
||||
install_requires.append('mock ; python_version < "3.3"')
|
||||
|
|
|
|||
Loading…
Reference in a new issue