diff --git a/pyproject.toml b/pyproject.toml index 2c25f359..4b4d2727 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -66,11 +66,9 @@ destinations = [ ] [tool.hatch.build.targets.sdist] -packages = [ - "src/openjd", -] -only-include = [ +include = [ "src/openjd", + "hatch_version_hook.py", ] [tool.hatch.build.targets.wheel]