forked from dask/fastparquet
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
33 lines (29 loc) · 818 Bytes
/
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
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from Cython.Build import cythonize
from distutils.extension import Extension
sourcefiles = ['parquet/_optimized.pyx', 'parquet/optimized.c']
extensions = [Extension("parquet._optimized", sourcefiles)]
setup(
name='parquet',
version='1.0',
description='Python support for Parquet file format',
author='Joe Crobak',
author_email='joecrow@gmail.com',
packages=['parquet'],
install_requires=[
'thriftpy', 'cython', 'pandas',
],
tests_require=['pytest',],
extras_require={
'snappy support': ['python-snappy']
},
entry_points={
'console_scripts': [
'parquet = parquet.__main__:main',
]
},
ext_modules=cythonize(extensions)
)