diff --git a/pyproject.toml b/pyproject.toml index f8c1bbe..4d65e3e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,7 +41,6 @@ Source = "https://github.com/OpenJobDescription/openjd-model-for-python" artifacts = [ "*_version.py", ] -only-packages = true [tool.hatch.version] source = "vcs" @@ -64,11 +63,9 @@ destinations = [ ] [tool.hatch.build.targets.sdist] -packages = [ - "src/openjd", -] -only-include = [ +include = [ "src/openjd", + "hatch_version_hook.py" ] [tool.hatch.build.targets.wheel]