-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
37 lines (33 loc) · 1.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
import pathlib
from setuptools import setup, find_packages
import sys
import versioneer
ray_deps = ["ray[default]>=1.13.0"]
dask_deps = ["dask[complete]>=2.22.0", "distributed>=2.22.0"]
mpi_deps = ["mpi4py-mpich", "msgpack>=1.0.0"]
if sys.version_info[1] < 8:
mpi_deps += "pickle5"
all_deps = ray_deps + dask_deps + mpi_deps
here = pathlib.Path(__file__).parent.resolve()
# Get the long description from the README file
long_description = (here / "README.md").read_text(encoding="utf-8")
setup(
name="unidist",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description="Unified Distributed Execution",
long_description=long_description,
long_description_content_type="text/markdown",
license="Apache-2.0",
packages=find_packages(),
url="https://github.com/modin-project/unidist",
install_requires=["packaging", "cloudpickle"],
extras_require={
# can be installed by pip install unidist[ray]
"ray": ray_deps,
"dask": dask_deps,
"mpi": mpi_deps,
"all": all_deps,
},
python_requires=">=3.7.1",
)