Skip to content

Commit 77a443e

Browse files
authored
fix: sdist failed to install (#157)
Signed-off-by: Morgan Epp <60796713+epmog@users.noreply.github.com>
1 parent a30d651 commit 77a443e

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ openjd = "openjd.cli:main"
4646
artifacts = [
4747
"*_version.py",
4848
]
49-
only-packages = true
50-
5149

5250
[tool.hatch.version]
5351
source = "vcs"
@@ -70,15 +68,10 @@ destinations = [
7068
]
7169

7270
[tool.hatch.build.targets.sdist]
73-
packages = [
71+
include = [
7472
"src/openjd",
73+
"hatch_version_hook.py",
7574
]
76-
only-include = [
77-
"src/openjd",
78-
]
79-
80-
[tool.hatch.build.targets.sdist.force-include]
81-
"src/openjd/__main__.py" = "openjd/__main__.py"
8275

8376
[tool.hatch.build.targets.wheel]
8477
packages = [

0 commit comments

Comments
 (0)