mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 16:30:31 +02:00
@pde review.
This commit is contained in:
+4
-2
@@ -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')
|
||||
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user