forked from wxiang7/pykylin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (35 loc) · 1.18 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
from setuptools import find_packages, setup
import os
version = "0.0.1"
readme = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
req_file = os.path.join(os.path.dirname(__file__), 'requirements.txt')
requirements = [i.strip() for i in open(req_file).readlines()]
setup_params = dict(
name="pykylin",
version=version,
description="Kylin DBAPI Driver",
author="Wu Xiang",
author_email="[email protected]",
long_description=readme,
classifiers=[
"Development Status :: 3 - Alpha",
'Environment :: Console',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Database :: Front-Ends',
],
keywords='Kylin SQLAlchemy',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
entry_points={
"sqlalchemy.dialects":
["kylin = pykylin.dialect:KylinDialect"]
},
install_requires=requirements
)
if __name__ == '__main__':
setup(**setup_params)