We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99b3620 commit ba8d321Copy full SHA for ba8d321
2 files changed
pyproject.toml
@@ -71,8 +71,8 @@ installer = "uv"
71
reactpy = "reactpy._console.cli:entry_point"
72
73
[[tool.hatch.build.hooks.build-scripts.scripts]]
74
-commands = ['python "{root}/src/build_scripts/build_local_wheel.py"']
75
-artifacts = ["{root}/src/reactpy/static/wheels/*.whl"]
+commands = ['python "src/build_scripts/build_local_wheel.py"']
+artifacts = ["src/reactpy/static/wheels/*.whl"]
76
77
#############################
78
# >>> Hatch Test Runner <<< #
src/build_scripts/build_local_wheel.py
@@ -25,7 +25,7 @@ def _reactpy_version(root_dir: Path) -> str:
25
init_file.read_text(encoding="utf-8"),
26
re.MULTILINE,
27
):
28
- return match.group(1)
+ return match[1]
29
raise RuntimeError("Could not determine the current ReactPy version.")
30
31
0 commit comments