Skip to content

Commit a2cc68a

Browse files
authored
Include statics as artifacts in both wheel and sdist (#2544)
1 parent 3a2689c commit a2cc68a

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

pyproject.toml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,15 @@ dstack = "dstack._internal.cli.main:main"
5454
[tool.hatch.version]
5555
path = "src/dstack/version.py"
5656

57-
[tool.hatch.build.targets.wheel.shared-data]
58-
"src/dstack/_internal/proxy/gateway/resources" = "dstack/_internal/proxy/gateway/resources"
59-
"src/dstack/_internal/server/statics" = "dstack/_internal/server/statics"
57+
[tool.hatch.build.targets.sdist]
58+
artifacts = [
59+
"src/dstack/_internal/server/statics/**",
60+
]
61+
62+
[tool.hatch.build.targets.wheel]
63+
artifacts = [
64+
"src/dstack/_internal/server/statics/**",
65+
]
6066

6167
[tool.hatch.metadata.hooks.fancy-pypi-readme]
6268
content-type = "text/markdown"

0 commit comments

Comments
 (0)