Skip to content

Commit 5e2ec1a

Browse files
author
Mike Cayanan
committed
Add scripts to wheel shared-data for PyPI installs
- Configure hatch to install scripts/ to share/mozart/scripts/ - Fixes script path resolution for PyPI installations - Scripts will now be found at {prefix}/share/mozart/scripts/
1 parent 8b1e28b commit 5e2ec1a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ raw-options = {version_scheme = "no-guess-dev"}
6969
[tool.hatch.build.targets.wheel]
7070
packages = ["mozart"]
7171

72+
[tool.hatch.build.targets.wheel.shared-data]
73+
"scripts" = "share/mozart/scripts"
74+
7275
[tool.hatch.build.targets.sdist]
7376
include = [
7477
"/mozart",

0 commit comments

Comments
 (0)