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:
authorJakub Warmuz <jakub@warmuz.org>2015-08-22 14:01:28 +0300
committerJakub Warmuz <jakub@warmuz.org>2015-08-22 14:01:28 +0300
commita7df468347e01ce15b3b863e073afb713bb4a637 (patch)
tree8b2babb6011bca84f8c446e913fa6e8049c9947c /letsencrypt-compatibility-test/setup.py
parent26c1f003d0d05397154fe63e1f452ed2148cfe75 (diff)
mock<1.1.0 only for py2.6.
Diffstat (limited to 'letsencrypt-compatibility-test/setup.py')
-rw-r--r--letsencrypt-compatibility-test/setup.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/letsencrypt-compatibility-test/setup.py b/letsencrypt-compatibility-test/setup.py
index f02041e55..99e66f54f 100644
--- a/letsencrypt-compatibility-test/setup.py
+++ b/letsencrypt-compatibility-test/setup.py
@@ -1,3 +1,5 @@
+import sys
+
from setuptools import setup
from setuptools import find_packages
@@ -7,10 +9,14 @@ install_requires = [
'letsencrypt-apache',
'letsencrypt-nginx',
'docker-py',
- 'mock<1.1.0', # py26
'zope.interface',
]
+if sys.version_info < (2, 7):
+ install_requires.append('mock<1.1.0')
+else:
+ install_requires.append('mock')
+
setup(
name='letsencrypt-compatibility-test',
packages=find_packages(),