-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·56 lines (50 loc) · 2.09 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
#!/usr/bin/env python
import sys
from os.path import exists
from setuptools import setup
import versioneer
# NOTE: These are tested in `continuous_integration/travis/test_imports.sh` If
# you modify these, make sure to change the corresponding line there.
extras_require = {
'array': ['numpy >= 1.13.0', 'toolz >= 0.7.3'],
'bag': ['cloudpickle >= 0.2.1', 'toolz >= 0.7.3', 'partd >= 0.3.8'],
'dataframe': ['numpy >= 1.13.0', 'pandas >= 0.21.0', 'toolz >= 0.7.3',
'partd >= 0.3.8', 'cloudpickle >= 0.2.1'],
'distributed': ['distributed >= 1.22'],
'delayed': ['toolz >= 0.7.3'],
}
extras_require['complete'] = sorted(set(sum(extras_require.values(), [])))
packages = ['dask', 'dask.array', 'dask.bag', 'dask.bytes',
'dask.dataframe', 'dask.dataframe.io', 'dask.dataframe.tseries',
'dask.diagnostics']
tests = [p + '.tests' for p in packages]
# Only include pytest-runner in setup_requires if we're invoking tests
if {'pytest', 'test', 'ptr'}.intersection(sys.argv):
setup_requires = ['pytest-runner']
else:
setup_requires = []
setup(name='dask',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='Parallel PyData with Task Scheduling',
url='https://github.com/dask/dask/',
maintainer='Matthew Rocklin',
maintainer_email='mrocklin@gmail.com',
license='BSD',
keywords='task-scheduling parallel numpy pandas pydata',
classifiers=[
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
packages=packages + tests,
long_description=open('README.rst').read() if exists('README.rst') else '',
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
setup_requires=setup_requires,
tests_require=['pytest'],
extras_require=extras_require,
include_package_data=True,
zip_safe=False)