python pyhs2 的安装

# 两个依赖包: sasl&thrift
The easier way I find to install sasl on windows 7 is to use the pre-compiled version from here : http://www.lfd.uci.edu/~gohlke/pythonlibs/
There is a direct link to the sasl librairies here : http://www.lfd.uci.edu/~gohlke/pythonlibs/#sasl just pick the one you need.
Then you install it using pip :
pip install sasl-0.1.3-cp27-none-win_amd64.whl


from setuptools import setup
setup(
    name='pyhs2',
    version='0.6.0',
    author='Brad Ruderman',
    author_email='[email protected]',
    packages=['pyhs2', 'pyhs2/cloudera', 'pyhs2/TCLIService'],
    url='https://github.com/BradRuderman/pyhs2',
    license='LICENSE.txt',
    description='Python Hive Server 2 Client Driver',
    long_description=open('README.md').read(),
    install_requires=[
        "sasl",
        "thrift",
    ],
    test_suite='pyhs2.test',
    tests_require=["mock"]
)

你可能感兴趣的:(Python)