Skip to content

Commit aefad57

Browse files
move data-files into pyproject.toml
1 parent 4f9a5d4 commit aefad57

File tree

2 files changed

+8
-19
lines changed

2 files changed

+8
-19
lines changed

pyproject.toml

+8
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,11 @@ compress = { file = "requires-compress.txt" }
7171
[tool.setuptools.packages.find]
7272
namespaces = false
7373
where = ["src"]
74+
75+
[tool.setuptools.data-files]
76+
# like `jupyter nbextension install --sys-prefix`
77+
"share/jupyter/nbextensions/dash" = ["src/dash/nbextension/main.js"]
78+
# like `jupyter nbextension enable --sys-prefix`
79+
"etc/jupyter/nbconfig/notebook.d" = ["src/dash/nbextension/dash.json"]
80+
# Place jupyterlab extension in extension directory
81+
"share/jupyter/lab/extensions" = ["src/dash/labextension/dist/dash-jupyterlab.tgz"]

setup.py

-19
This file was deleted.

0 commit comments

Comments
 (0)