Skip to content

Commit 722b647

Browse files
committed
pkg: exclude docs from package
1 parent 57c9fbe commit 722b647

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ Issues = "https://github.com/victorpoughon/torchlensmaker/issues"
3535
requires = ["hatchling"]
3636
build-backend = "hatchling.build"
3737

38+
[tool.hatch.build.targets.sdist]
39+
exclude = [
40+
"docs/",
41+
"test_notebooks/",
42+
"drafts",
43+
]
44+
3845
[tool.setuptools]
3946
package-dir = {"" = "src"}
4047
packages = ["torchlensmaker"]

0 commit comments

Comments
 (0)