mock<1.1.0 only for py2.6.

This commit is contained in:
Jakub Warmuz
2015-08-22 11:01:28 +00:00
parent 26c1f003d0
commit a7df468347
6 changed files with 39 additions and 13 deletions
+7 -1
View File
@@ -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(),