Skip to content

Commit baf1f91

Browse files
authored
build: only include src dir in source distribution (#322)
Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
1 parent c451150 commit baf1f91

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ omit = ["__main__.py"]
4141
[tool.coverage.run]
4242
source = ["bonacci"]
4343

44+
[tool.hatch.build.targets.sdist]
45+
include = ["src"]
46+
4447
[tool.ruff.lint]
4548
select = ["ALL"]
4649
ignore = ["COM812", "D"]

0 commit comments

Comments
 (0)