From 800a074b5d7adbbcaf96a5e6b3754c560f6768ff Mon Sep 17 00:00:00 2001 From: Cory Benfield Date: Tue, 9 May 2017 19:10:31 +0100 Subject: [PATCH] Use sys_platform instead of platform_system This is more compatible as a marker and so will break fewer people. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 7c474b2b..f9ce495f 100755 --- a/setup.py +++ b/setup.py @@ -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'], }, )