diff options
author | Jakub Warmuz <jakub@warmuz.org> | 2015-08-22 14:01:28 +0300 |
---|---|---|
committer | Jakub Warmuz <jakub@warmuz.org> | 2015-08-22 14:01:28 +0300 |
commit | a7df468347e01ce15b3b863e073afb713bb4a637 (patch) | |
tree | 8b2babb6011bca84f8c446e913fa6e8049c9947c /letsencrypt-compatibility-test/setup.py | |
parent | 26c1f003d0d05397154fe63e1f452ed2148cfe75 (diff) |
mock<1.1.0 only for py2.6.
Diffstat (limited to 'letsencrypt-compatibility-test/setup.py')
-rw-r--r-- | letsencrypt-compatibility-test/setup.py | 8 |
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(), |