Skip to content

Commit dbfae66

Browse files
authored
Add releaser/sdist config to pyproject.toml
1 parent ec8bc6c commit dbfae66

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
@@ -93,6 +93,10 @@ npm = ["jlpm"]
9393
source_dir = "src"
9494
build_dir = "jupyter_scheduler/labextension"
9595

96+
[tool.hatch.build.targets.sdist]
97+
artifacts = ["jupyter_scheduler/labextension"]
98+
exclude = [".github", "binder"]
99+
96100
[tool.tbump.version]
97101
current = "2.10.0"
98102
regex = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)((?P<channel>a|b|rc|.dev)(?P<release>\\d+))?"
@@ -144,6 +148,9 @@ filterwarnings = [
144148
[tool.jupyter_releaser]
145149
skip = ["check-links"]
146150

151+
[tool.jupyter-releaser.hooks]
152+
before-build-python = ["jlpm clean:all"]
153+
147154
[tool.mypy]
148155
check_untyped_defs = true
149156
disallow_incomplete_defs = true

0 commit comments

Comments
 (0)