mirror of
https://github.com/certbot/certbot.git
synced 2026-08-06 21:34:58 +02:00
mock<1.1.0 only for py2.6.
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user