forked from vertica/vertica-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (36 loc) · 1.27 KB
/
setup.py
File metadata and controls
42 lines (36 loc) · 1.27 KB
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
41
42
#!/usr/bin/env python
import collections
from setuptools import setup, find_packages
from pip.req import parse_requirements
dependency_links = []
install_requires = []
ReqOpts = collections.namedtuple('ReqOpts', ['skip_requirements_regex', 'default_vcs'])
opts = ReqOpts(None, 'git')
for ir in parse_requirements("requirements.txt", options=opts):
if ir is not None:
if ir.url is not None:
dependency_links.append(str(ir.url))
if ir.req is not None:
install_requires.append(str(ir.req))
setup(
name='vertica-python',
version='0.2.0',
description='A native Python client for the Vertica database.',
author='Justin Berka, Alex Kim',
author_email='justin.berka@gmail.com, alex.kim@uber.com',
url='https://github.com/uber/vertica-python/',
keywords="database vertica",
packages=find_packages(),
license="MIT",
install_requires=install_requires,
dependency_links=dependency_links,
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Topic :: Database",
"Topic :: Database :: Database Engines/Servers",
"Operating System :: OS Independent"
]
)