Skip to content

Commit 7646598

Browse files
committed
Ensure sdist only contains the code itself
Without doing this the uv build command tries to include too many things and it fails
1 parent 92fc2cc commit 7646598

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ allow-direct-references = true
4141
[tool.hatch.version]
4242
path = "django_consistency_enforcer/version.py"
4343

44+
[tool.hatch.build.targets.sdist]
45+
include = [
46+
"/django_consistency_enforcer",
47+
]
48+
4449
[tool.hatch.build.targets.wheel]
4550
include = [
4651
"/django_consistency_enforcer",

0 commit comments

Comments
 (0)