Skip to content

Commit 9fb0dbe

Browse files
committed
Fix: include frontend static assets in sdist for wheel builds
1 parent a791a59 commit 9fb0dbe

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ version-file = "src/hyperview/_version.py"
7575
[tool.hatch.build.targets.wheel]
7676
packages = ["src/hyperview"]
7777
# Include frontend static assets (pre-built before packaging)
78+
# artifacts is for untracked files that exist; force-include ensures they're packaged
7879
artifacts = ["src/hyperview/server/static/**"]
7980

8081
[tool.hatch.build.targets.sdist]
@@ -83,6 +84,8 @@ include = [
8384
"/README.md",
8485
"/LICENSE",
8586
]
87+
# Include built frontend for reproducible source builds
88+
artifacts = ["src/hyperview/server/static/**"]
8689

8790
[tool.ruff]
8891
line-length = 100

0 commit comments

Comments
 (0)