Skip to content

Commit

Permalink
Use winkerberos on windows
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jcrist committed Oct 18, 2022
1 parent 0f2be72 commit a078a86
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ def readme():
package_data={'impala.thrift': ['*.thrift']},
install_requires=['six', 'bitarray', 'thrift==0.16.0', 'thrift_sasl==0.4.3'],
extras_require={
"kerberos": ['kerberos>=1.3.0'],
"kerberos": [
'kerberos>=1.3.0;platform_system!="Windows"',
'winkerberos;platform_system=="Windows"',
],
},
keywords=('cloudera impala python hadoop sql hdfs mpp spark pydata '
'pandas distributed db api pep 249 hive hiveserver2 hs2'),
Expand Down

0 comments on commit a078a86

Please sign in to comment.