forked from dask/dask-ml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
73 lines (65 loc) · 1.92 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
70
71
72
73
import os
from codecs import open
from setuptools import find_packages, setup
here = os.path.dirname(__file__)
# Get the long description from the README file
with open(os.path.join(here, "README.rst"), encoding="utf-8") as f:
long_description = f.read()
install_requires = [
"dask[array,dataframe]>=2.4.0",
"distributed>=2.4.0",
"numba",
"numpy>=1.17.3",
"pandas>=0.24.2",
"scikit-learn>=0.23",
"scipy",
"dask-glm>=0.2.0",
"multipledispatch>=0.4.9",
"packaging",
]
# Optional Requirements
doc_requires = ["sphinx", "numpydoc", "sphinx-rtd-theme", "nbsphinx", "sphinx-gallery"]
test_requires = [
"black",
"coverage",
"flake8",
"isort",
"pytest",
"pytest-cover",
"pytest-mock",
]
dev_requires = doc_requires + test_requires
xgboost_requires = ["dask-xgboost", "xgboost"]
complete_requires = xgboost_requires
extras_require = {
"docs": doc_requires,
"test": test_requires,
"dev": dev_requires,
"xgboost": xgboost_requires,
"complete": complete_requires,
}
setup(
name="dask-ml",
description="A library for distributed and parallel machine learning",
long_description=long_description,
url="https://github.com/dask/dask-ml",
author="Tom Augspurger",
author_email="taugspurger@anaconda.com",
license="BSD",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Database",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
packages=find_packages(exclude=["docs", "tests", "tests.*", "docs.*"]),
use_scm_version=True,
setup_requires=["setuptools_scm"],
install_requires=install_requires,
extras_require=extras_require,
python_requires=">=3.6",
)