@pde review.

This commit is contained in:
Rémy HUBSCHER 2015-12-17 10:13:09 +01:00
parent 69ea4662c3
commit 6958710030
2 changed files with 5 additions and 3 deletions

View file

@ -10,8 +10,6 @@ install_requires = [
# load_pem_private/public_key (>=0.6)
# rsa_recover_prime_factors (>=0.8)
'cryptography>=0.8',
'ndg-httpsclient', # urllib3 InsecurePlatformWarning (#304)
'pyasn1', # urllib3 InsecurePlatformWarning (#304)
# Connection.set_tlsext_host_name (>=0.13), X509Req.get_extensions (>=0.15)
'PyOpenSSL>=0.15',
'pyrfc3339',
@ -29,6 +27,10 @@ if sys.version_info < (2, 7):
'argparse',
'mock<1.1.0',
])
elif sys.version_info < (2, 7, 9):
# For secure SSL connexion with Python 2.7 (InsecurePlatformWarning)
install_requires.append('ndg-httpsclient')
install_requires.append('pyasn1')
else:
install_requires.append('mock')

View file

@ -55,7 +55,7 @@ if sys.version_info < (2, 7):
'argparse',
'mock<1.1.0',
])
elif sys.version_info < (2, 8):
elif sys.version_info < (2, 7, 9):
# For secure SSL connexion with Python 2.7 (InsecurePlatformWarning)
install_requires.append('ndg-httpsclient')
install_requires.append('pyasn1')