Skip to content

Commit 50ae20f

Browse files
committed
Add exclusion rules for sdist build target in pyproject.toml
1 parent 62e504c commit 50ae20f

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
@@ -94,6 +94,9 @@ build-backend = "hatchling.build"
9494
[tool.hatch.build.targets.wheel]
9595
packages = ["src/machinevisiontoolbox"]
9696

97+
[tool.hatch.build.targets.sdist]
98+
exclude = ["/mvtb-data", "/docs", "/tests", "/.git", "/.github", "/figs"]
99+
97100
[tool.black]
98101
line-length = 88
99102
target-version = ['py310', 'py311', 'py312']

0 commit comments

Comments
 (0)