2014-02-01 12:48:28 +04:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
from setuptools import setup
|
2014-02-03 11:48:38 +04:00
|
|
|
import pyhive
|
2014-02-01 12:48:28 +04:00
|
|
|
|
2014-02-01 13:02:08 +04:00
|
|
|
with open('README.rst') as readme:
|
2014-02-01 12:48:28 +04:00
|
|
|
long_description = readme.read()
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name="PyHive",
|
2014-02-03 11:48:38 +04:00
|
|
|
version=pyhive.__version__,
|
2014-02-01 12:48:28 +04:00
|
|
|
description="Python interface to Hive",
|
|
|
|
long_description=long_description,
|
2014-02-01 13:08:54 +04:00
|
|
|
url='https://github.com/jingw/PyHive',
|
2014-02-01 12:48:28 +04:00
|
|
|
author="Jing Wang",
|
|
|
|
author_email="jing@dropbox.com",
|
|
|
|
packages=['pyhive'],
|
|
|
|
classifiers=[
|
|
|
|
"Topic :: Database",
|
|
|
|
],
|
|
|
|
extras_require={
|
|
|
|
"Presto": ['requests'],
|
|
|
|
"Hive": ['sasl>=0.1.3', 'thrift>=0.9.1'],
|
|
|
|
"SQLAlchemy": ['sqlalchemy==0.5.8'],
|
|
|
|
},
|
|
|
|
test_suite='nose.collector',
|
|
|
|
tests_require=[
|
|
|
|
'mock',
|
|
|
|
'nose',
|
|
|
|
'requests',
|
|
|
|
'sasl>=0.1.3',
|
|
|
|
'sqlalchemy==0.5.8',
|
|
|
|
'thrift>=0.9.1',
|
2014-02-01 13:08:54 +04:00
|
|
|
],
|
|
|
|
package_data={
|
|
|
|
'': ['*.rst'],
|
|
|
|
},
|
2014-02-01 12:48:28 +04:00
|
|
|
)
|