Skip to content

Commit e1c858d

Browse files
authored
win => win32
To determine the window, check the win32. With the verification that is now, there will be problems in the Mac OS: $ python Python 3.7.4 (default, Jul 9 2019, 18:15:00) [Clang 10.0.0 (clang-1000.11.45.5)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> sys.platform Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'sys' is not defined >>> import sys >>> sys.platform 'darwin' >>> $ sw_vers ProductName: Mac OS X ProductVersion: 10.14 BuildVersion: 18A391 https://docs.python.org/3/library/sys.html#sys.platform
1 parent 2d2a070 commit e1c858d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
'six',
3333
'oauthlib',
3434
'requests_oauthlib'
35-
] + (['kerberos-sspi'] if "win" in sys.platform else ['kerberos']),
35+
] + (['kerberos-sspi'] if "win32" in sys.platform else ['kerberos']),
3636
platforms='Platform Independent',
3737

3838
classifiers=[

0 commit comments

Comments
 (0)