forked from dask/dask-labextension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (53 loc) · 1.85 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
"""
Setup module for the dask_labextension
"""
import setuptools
from setupbase import (create_cmdclass, ensure_python, find_packages, get_version)
data_files_spec = [
(
"etc/jupyter/jupyter_notebook_config.d",
"jupyter-config/jupyter_notebook_config.d",
"dask_labextension.json",
)
]
package_data_spec = {"dask_labextension": ["*.yaml"]}
cmdclass = create_cmdclass(
package_data_spec=package_data_spec, data_files_spec=data_files_spec
)
VERSION = get_version("dask_labextension/_version.py")
setup_dict = dict(
name="dask_labextension",
version=VERSION,
description="A Jupyter Notebook server extension manages Dask clusters.",
long_description="A Jupyter Notebook server extension manages Dask clusters. Meant to be used in conjunction with the dask-labextension JupyterLab extension.",
packages=find_packages(),
cmdclass=cmdclass,
include_package_data=True,
author="Jupyter Development Team",
author_email="[email protected]",
url="http://jupyter.org",
license="BSD",
platforms="Linux, Mac OS X, Windows",
keywords=["Jupyter", "JupyterLab", "Dask"],
python_requires=">=3.5",
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
],
install_requires=[
"bokeh", "distributed>=1.24.1", "notebook>=4.3.1", "jupyter-server-proxy>=1.1.0"
],
)
try:
ensure_python(setup_dict["python_requires"].split(","))
except ValueError as e:
raise ValueError(
"{:s}, to use {} you must use python {} ".format(
e, setup_dict["name"], setup_dict["python_requires"]
)
)
setuptools.setup(**setup_dict)