-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
48 lines (41 loc) · 1.24 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
import sys
from setuptools import find_packages, setup
msg = "Command line (CLI) tool to inspect Apache Parquet files on the go"
def get_pyarrow_version():
if sys.platform == "darwin":
pyarrow = 'pyarrow>=0.9.0.post1'
else:
pyarrow = 'pyarrow>=0.9.0'
return pyarrow
setup(
name='parquet-cli',
version='1.2',
description=msg,
long_description=msg,
author='Nar Kumar Chhantyal',
author_email='[email protected]',
url='https://github.com/chhantyal/parquet-cli',
license='BSD 3-Clause License',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
packages=find_packages(),
platforms='any',
install_requires=[
'pandas>=0.22.0',
get_pyarrow_version()
],
entry_points={
'console_scripts': [
'parq = parq.main:main',
]
},
package_data={'example': ['*.parquet']},
include_package_data=True,
)