forked from EntilZha/PyFunctional
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (46 loc) · 1.91 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
import sys
from setuptools import setup, find_packages
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst', extra_args=['--columns=300'])
except (IOError, ImportError):
long_description = open('README.md').read()
common_install_requires = ['future<=1.0.0', 'six<=2.0.0', 'dill>=0.2.6,<=0.2.7.1', 'tabulate<=1.0.0']
if sys.version_info.major == 2 or '__pypy__' in sys.builtin_module_names:
compression_requires = ['bz2file==0.98', 'backports.lzma==0.0.6']
install_requires = common_install_requires
else:
compression_requires = []
install_requires = common_install_requires
setup(
name='PyFunctional',
description='Package for creating data pipelines with chain functional programming',
long_description=long_description,
url='https://github.com/EntilZha/PyFunctional',
author='Pedro Rodriguez',
author_email='[email protected]',
maintainer='Pedro Rodriguez',
maintainer_email='[email protected]',
license='MIT',
keywords='functional pipeline data collection chain rdd linq parallel',
packages=find_packages(exclude=['contrib', 'docs', 'tests*', 'test']),
version='1.2.0',
install_requires=install_requires,
extras_requires={
'all': ['pandas'] + compression_requires,
'compression': compression_requires
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Natural Language :: English',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)