Skip to content

Commit 9f77736

Browse files
committed
Fix version.py
1 parent fafd1b1 commit 9f77736

File tree

2 files changed

+4
-26
lines changed

2 files changed

+4
-26
lines changed

jupyterlab_blockly/_version.py

Lines changed: 0 additions & 23 deletions
This file was deleted.

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ dev = [
3737
[tool.hatch.version]
3838
source = "nodejs"
3939

40+
[tool.hatch.build.hooks.version]
41+
path = "jupyterlab_blockly/_version.py"
42+
4043
[tool.hatch.metadata.hooks.nodejs]
4144
fields = ["description", "authors", "urls"]
4245

@@ -83,9 +86,7 @@ before-build-npm = [
8386
]
8487
before-build-python = [
8588
# Build the assets
86-
"jlpm build:prod",
87-
# Clean the build artifacts to not include them in sdist
88-
"jlpm clean"
89+
"jlpm build:prod"
8990
]
9091

9192
[tool.check-wheel-contents]

0 commit comments

Comments
 (0)