Skip to content

Commit dcb1fe8

Browse files
committed
hatch: Actually include sourcefiles in wheel
After I published v0.1.7, I noticed the source files were missing from the wheel. This makes that version of the library impossible to use. I have yanked v0.1.7 and will publish this commit as v0.1.8. The only change is the fixed wheel. This was caused by the transition from setuptools -> hatch and it should not happen again.
1 parent f8071c3 commit dcb1fe8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ requires = [
4444
]
4545
build-backend = "hatchling.build"
4646

47+
[tool.hatch.build.targets.wheel]
48+
# needed to actually include the sources in the wheel
49+
only-include = ["src"]
50+
sources = ["src"]
4751

4852
[tool.hatch.version]
4953
source = "vcs"

0 commit comments

Comments
 (0)