Skip to content

Commit a078a86

Browse files
committed
Use winkerberos on windows
This switches impyla to depend on `winkerberos` on windows rather than `kerberos`. The `winkerberos` package provides pre-built wheels for `windows` with the same python-facing API.
1 parent 0f2be72 commit a078a86

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ def readme():
4343
package_data={'impala.thrift': ['*.thrift']},
4444
install_requires=['six', 'bitarray', 'thrift==0.16.0', 'thrift_sasl==0.4.3'],
4545
extras_require={
46-
"kerberos": ['kerberos>=1.3.0'],
46+
"kerberos": [
47+
'kerberos>=1.3.0;platform_system!="Windows"',
48+
'winkerberos;platform_system=="Windows"',
49+
],
4750
},
4851
keywords=('cloudera impala python hadoop sql hdfs mpp spark pydata '
4952
'pandas distributed db api pep 249 hive hiveserver2 hs2'),

0 commit comments

Comments
 (0)