Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'certbot-dns-linode/setup.py')
-rw-r--r--certbot-dns-linode/setup.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/certbot-dns-linode/setup.py b/certbot-dns-linode/setup.py
index 8e765bd8f..1a1e3f973 100644
--- a/certbot-dns-linode/setup.py
+++ b/certbot-dns-linode/setup.py
@@ -16,14 +16,16 @@ install_requires = [
'zope.interface',
]
-if not os.environ.get('EXCLUDE_CERTBOT_DEPS'):
+if not os.environ.get('SNAP_BUILD'):
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 '
+ raise RuntimeError('Unset SNAP_BUILD when building wheels '
'to include certbot dependencies.')
+if os.environ.get('SNAP_BUILD'):
+ install_requires.append('packaging')
setuptools_known_environment_markers = (LooseVersion(setuptools_version) >= LooseVersion('36.2'))
if setuptools_known_environment_markers: