forked from svenkreiss/pysparkling
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
69 lines (62 loc) · 2.03 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
from setuptools import setup, find_packages
# workaround: nosetests don't exit cleanly with older
# python version (<=2.6 and even <2.7.4)
try:
import multiprocessing # noqa
except ImportError:
pass
# extract version from __init__.py
with open('pysparkling/__init__.py', 'r') as f:
version_line = [l for l in f if l.startswith('__version__')][0]
VERSION = version_line.split('=')[1].strip()[1:-1]
setup(
name='pysparkling',
version=VERSION,
packages=find_packages(),
license='MIT',
description='Pure Python implementation of the Spark RDD interface.',
long_description=open('README.rst').read(),
author='pysparkling contributors',
url='https://github.com/svenkreiss/pysparkling',
install_requires=[
'boto>=2.36.0',
'future>=0.15',
'requests>=2.6.0',
'pytz>=2019.3',
'python-dateutil>=2.8.0',
'antlr4-python3-runtime==4.7.1'
],
extras_require={
'hdfs': ['hdfs>=2.0.0'],
'pandas': ['pandas>=0.23.2'],
'performance': ['matplotlib>=1.5.3'],
'streaming': ['tornado>=4.3'],
'test': [
'backports.tempfile==1.0rc1',
'cloudpickle>=0.1.0',
'futures>=3.0.1',
'pylint>=2.3,<2.6',
'memory-profiler>=0.47',
'pytest',
'tornado>=4.3',
]
},
entry_points={
'console_scripts': [],
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: Implementation :: PyPy',
]
)