Skip to content
Myr

port pyopenssl fix from urllib3

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Nate Prewitt · committed by Nate Prewitt · parent bc46de5 · Browse files · 1 file+7 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+7 added−1 removed

  • other:+7 added−1 removed

1 file+7 added−1 removed

modified:setup.py+7 added-1 removed
38 unmodified lines
39 os.system('python setup.py sdist bdist_wheel')40 os.system('twine upload dist/*')41 sys.exit()4243# pyOpenSSL version 18.0.0 dropped support for Python 2.644if sys.version_info < (2, 7):45 PYOPENSSL_VERSION = 'pyOpenSSL >= 0.14, < 18.0.0'46else:47 PYOPENSSL_VERSION = 'pyOpenSSL >= 0.14'4849packages = ['requests']5051requires = [52 'chardet>=3.0.2,<3.1.0',
48 unmodified lines
101 ),102 cmdclass={'test': PyTest},103 tests_require=test_requirements,104 extras_require={99 'security': ['pyOpenSSL>=0.14', 'cryptography>=1.3.4', 'idna>=2.0.0'],105 'security': [PYOPENSSL_VERSION, 'cryptography>=1.3.4', 'idna>=2.0.0'],106 'socks': ['PySocks>=1.5.6, !=1.5.7'],107 'socks:sys_platform == "win32" and (python_version == "2.7" or python_version == "2.6")': ['win_inet_pton'],108 },109)