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:
Cory Benfield
2017-05-09 19:10:31 +01:00
parent 508d47dc6e
commit 800a074b5d
+1 -1
View File
@@ -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'],
},
)