Skip to content

Commit 4d590f3

Browse files
authored
Merge pull request #5587 from plotly/fix-5584-2
Fix accidental creation of `js/` directory under `site-packages/` when installing Plotly
2 parents fbaf3df + 8c7129f commit 4d590f3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,10 @@ include = [
120120
"js/install.json", # used by Jupyter extension
121121
]
122122

123+
[tool.hatch.build.targets.wheel]
124+
# Prevent js/ directory from being installed as top-level package
125+
exclude = ["js"]
126+
123127
[tool.hatch.build.targets.wheel.shared-data]
124128
# Specify files from this package which will be copied to the user's system on install
125129
# This is how the jupyterlab extension gets installed

0 commit comments

Comments
 (0)