-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathsetup.py
More file actions
66 lines (60 loc) · 1.66 KB
/
Copy pathsetup.py
File metadata and controls
66 lines (60 loc) · 1.66 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#!/usr/bin/env python
from setuptools import setup, Extension, find_packages
import sys
long_description = ''
if 'upload' in sys.argv:
with open('README.rst') as f:
long_description = f.read()
if 'sdist' in sys.argv:
ext_modules = []
else:
import numpy as np
ext_modules = [
Extension(
'warp_prism._warp_prism',
['warp_prism/_warp_prism.c'],
include_dirs=[np.get_include()],
extra_compile_args=['-std=c99', '-Wall', '-Wextra'],
),
]
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: C',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Scientific/Engineering',
]
setup(
name='warp_prism',
version='0.1.1',
description='Quickly move data from postgres to numpy or pandas.',
author='Quantopian Inc.',
author_email='opensource@gmail.com',
packages=find_packages(),
long_description=long_description,
license='Apache 2.0',
classifiers=classifiers,
url='https://github.com/quantopian/warp_prism',
ext_modules=ext_modules,
install_requires=[
'datashape',
'numpy',
'pandas',
'sqlalchemy',
'psycopg2',
'odo',
'toolz',
],
extras_require={
'dev': [
'flake8==3.3.0',
'pycodestyle==2.3.1',
'pyflakes==1.5.0',
'pytest==3.0.6',
],
},
)