Skip to content

Commit

Permalink
Fix frontend artifacts directory in pyproject.toml (#343)
Browse files Browse the repository at this point in the history
Fixes an issue where the static directory where the frontend build is
placed was not the one declared explicitly in the `pyproject.toml`. The
frontend build directory was moved from `skore/src/dashboard/static/` to
`skore/src/ui/static` during #325 and the change was not made in
`pyproject.toml`.
  • Loading branch information
thomass-dev authored Sep 17, 2024
1 parent 32a98d2 commit 4c089e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ pattern = "(?P<version>[^']+)"

[tool.hatch.build.targets.sdist]
only-include = ["src/"]
artifacts = ["src/skore/dashboard/static/"]
artifacts = ["src/skore/ui/static/"]

[tool.hatch.build.targets.wheel]
package = ["src/skore/"]
artifacts = ["src/skore/dashboard/static/"]
artifacts = ["src/skore/ui/static/"]

[project]
name = "skore"
Expand Down

0 comments on commit 4c089e3

Please sign in to comment.