mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
Use sys_platform instead of platform_system
This is more compatible as a marker and so will break fewer people.
This commit is contained in:
@@ -99,7 +99,7 @@ setup(
|
||||
extras_require={
|
||||
'security': ['pyOpenSSL>=0.14', 'cryptography>=1.3.4', 'idna>=2.0.0'],
|
||||
'socks': ['PySocks>=1.5.6, !=1.5.7'],
|
||||
'socks:platform_system == "Windows" and python_version<"3.3"': ['win_inet_pton'],
|
||||
'socks:sys_platform == "win32" and python_version<"3.3"': ['win_inet_pton'],
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user