Guarantee a true SSLContext object with Python 2

This commit is contained in:
Rémy HUBSCHER 2015-12-16 15:25:31 +01:00
parent c806b21e77
commit 69ea4662c3

View file

@ -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')