Skip to content

Commit aa9cc03

Browse files
committed
Use include list instead of exclude list for hatch build targets
1 parent 31b0499 commit aa9cc03

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ ignore_missing_imports = false
5252
testpaths = ["tests"]
5353
addopts = "-v"
5454

55+
[tool.hatch.build.targets.sdist]
56+
include = ["leakix/", "LICENSE", "README.md", "pyproject.toml"]
57+
58+
[tool.hatch.build.targets.wheel]
59+
include = ["leakix/"]
60+
5561
[build-system]
5662
requires = ["hatchling"]
5763
build-backend = "hatchling.build"

0 commit comments

Comments
 (0)