Skip to content

Commit

Permalink
@pde review.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémy HUBSCHER committed Dec 17, 2015
1 parent 69ea466 commit 6958710
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions acme/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
# 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',
Expand All @@ -29,6 +27,10 @@
'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')

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def read_file(filename, encoding='utf8'):
'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')
Expand Down

0 comments on commit 6958710

Please sign in to comment.