mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 06:15:36 -04:00
@pde review.
This commit is contained in:
parent
69ea4662c3
commit
6958710030
2 changed files with 5 additions and 3 deletions
|
|
@ -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')
|
||||
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in a new issue