Skip to content

Commit b4ccc9f

Browse files
authored
Merge pull request #344 from Woklex/patch-8
sys.platform => platform_system
2 parents 125ec77 + 00bb545 commit b4ccc9f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,10 @@
3131
'requests',
3232
'six',
3333
'oauthlib',
34-
'requests_oauthlib'
35-
] + (['kerberos-sspi'] if "win" in sys.platform else ['kerberos']),
34+
'requests_oauthlib',
35+
'kerberos-sspi;platform_system=="Windows"',
36+
'kerberos;platform_system!="Windows"'
37+
],
3638
platforms='Platform Independent',
3739

3840
classifiers=[

0 commit comments

Comments
 (0)