Skip to content

Commit

Permalink
move data-files into pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert-coef committed Feb 15, 2024
1 parent 2dc2ee5 commit 10e25b1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 19 deletions.
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,11 @@ compress = { file = "requires-compress.txt" }
[tool.setuptools.packages.find]
namespaces = false
where = ["src"]

[tool.setuptools.data-files]
# like `jupyter nbextension install --sys-prefix`
"share/jupyter/nbextensions/dash" = ["src/dash/nbextension/main.js"]
# like `jupyter nbextension enable --sys-prefix`
"etc/jupyter/nbconfig/notebook.d" = ["src/dash/nbextension/dash.json"]
# Place jupyterlab extension in extension directory
"share/jupyter/lab/extensions" = ["src/dash/labextension/dist/dash-jupyterlab.tgz"]
19 changes: 0 additions & 19 deletions setup.py

This file was deleted.

0 comments on commit 10e25b1

Please sign in to comment.