forked from heavyai/pymapd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
65 lines (53 loc) · 1.9 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import os
from codecs import open
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
# Get the long description from the README file
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
install_requires = ['thrift == 0.11.0',
'sqlalchemy >= 1.3',
'numpy >= 1.16',
'pandas >= 0.24',
'pyarrow >= 0.12.0,<0.14',
'packaging >= 19.0',
'rbc-project']
# Optional Requirements
doc_requires = ['sphinx', 'numpydoc', 'sphinx-rtd-theme']
test_requires = ['coverage', 'pytest', 'pytest-mock', 'shapely']
dev_requires = doc_requires + test_requires
gpu_requires = ['cudf', 'libcudf']
complete_requires = dev_requires + gpu_requires
extra_requires = {
'docs': doc_requires,
'test': test_requires,
'dev': dev_requires,
'gpu': gpu_requires,
'complete': complete_requires,
}
setup(
name='pymapd',
description='A DB API 2 compatible client for OmniSci (formerly MapD).',
long_description=long_description,
url='https://github.com/omnisci/pymapd',
author='OmniSci',
author_email='[email protected]',
license='Apache Software License',
python_requires='>=3.6',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Database',
'Topic :: Scientific/Engineering',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3 :: Only',
],
packages=find_packages(),
use_scm_version=True,
setup_requires=['setuptools_scm'],
install_requires=install_requires,
extras_require=extra_requires
)