mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 06:15:36 -04:00
Guarantee a true SSLContext object with Python 2
This commit is contained in:
parent
c806b21e77
commit
69ea4662c3
1 changed files with 4 additions and 0 deletions
4
setup.py
4
setup.py
|
|
@ -55,6 +55,10 @@ if sys.version_info < (2, 7):
|
|||
'argparse',
|
||||
'mock<1.1.0',
|
||||
])
|
||||
elif sys.version_info < (2, 8):
|
||||
# For secure SSL connexion with Python 2.7 (InsecurePlatformWarning)
|
||||
install_requires.append('ndg-httpsclient')
|
||||
install_requires.append('pyasn1')
|
||||
else:
|
||||
install_requires.append('mock')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue