From da1cada6ddd82f2b28adea0eecca6459a955f552 Mon Sep 17 00:00:00 2001 From: Morgan Epp <60796713+epmog@users.noreply.github.com> Date: Wed, 4 Jun 2025 13:59:45 -0500 Subject: [PATCH] fix: sdist failed to install Signed-off-by: Morgan Epp <60796713+epmog@users.noreply.github.com> --- pyproject.toml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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]