Skip to content

Commit da1cada

Browse files
committed
fix: sdist failed to install
Signed-off-by: Morgan Epp <[email protected]>
1 parent ae69150 commit da1cada

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

pyproject.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ Source = "https://github.com/OpenJobDescription/openjd-model-for-python"
4141
artifacts = [
4242
"*_version.py",
4343
]
44-
only-packages = true
4544

4645
[tool.hatch.version]
4746
source = "vcs"
@@ -64,11 +63,9 @@ destinations = [
6463
]
6564

6665
[tool.hatch.build.targets.sdist]
67-
packages = [
68-
"src/openjd",
69-
]
70-
only-include = [
66+
include = [
7167
"src/openjd",
68+
"hatch_version_hook.py"
7269
]
7370

7471
[tool.hatch.build.targets.wheel]

0 commit comments

Comments
 (0)