forked from dask/fastparquet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
49 lines (41 loc) · 1.59 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
"""setup.py - build script for parquet-python."""
import os
try:
from setuptools import setup, Extension
except ImportError:
from distutils.core import setup, Extension
import numpy as np
from Cython.Build import cythonize
cython_modules = [Extension('fastparquet.speedups',
['fastparquet/speedups.pyx'],
include_dirs=[np.get_include()])]
ext_modules = cythonize(cython_modules)
setup(
name='fastparquet',
version='0.0.5',
description='Python support for Parquet file format',
ext_modules=ext_modules,
author='Martin Durant',
author_email='mdurant@continuum.io',
url='https://github.com/martindurant/fastparquet/',
license='Apache License 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
],
packages=['fastparquet'],
install_requires=[open('requirements.txt').read().strip().split('\n')],
long_description=(open('README.rst').read() if os.path.exists('README.rst')
else ''),
package_data={'fastparquet': ['*.thrift']},
include_package_data=True,
)