-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathsetup.py
executable file
·59 lines (52 loc) · 1.71 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
import os
import setuptools
from jupyter_packaging import get_version
name = "swandask"
# Get our version
version = get_version(os.path.join(name, "_version.py"))
with open("README.md", "r") as fh:
long_description = fh.read()
setup_args = dict(
name=name,
version=version,
url="https://github.com/swan-cern/jupyter-extensions",
author="SWAN Admins",
description="Wrapper to run dask_jupyterlab as an external process",
long_description=long_description,
long_description_content_type="text/markdown",
data_files=[
(
"etc/jupyter/jupyter_server_config.d",
["jupyter-config/jupyter_server_config.d/dask_labextension.json"],
),
(
"etc/jupyter/jupyter_notebook_config.d",
["jupyter-config/jupyter_notebook_config.d/dask_labextension.json"],
),
],
packages=setuptools.find_packages(),
install_requires=["jupyter-server-proxy", "tornado"], # "dask_labextension"
zip_safe=False,
include_package_data=True,
license="AGPL-3.0",
platforms="Linux, Mac OS X",
keywords=["JupyterLab", "SWAN", "CERN"],
entry_points={
"console_scripts": [
"swandask = swandask.app:main",
],
"jupyter_serverproxy_servers": [
"dask = swandask:setup_proxy",
],
},
classifiers=[
"License :: OSI Approved :: GNU Affero General Public License v3",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
],
)
if __name__ == "__main__":
setuptools.setup(**setup_args)