Skip to content

Commit 6839a80

Browse files
committed
fix: fix maturin command
1 parent aae8e96 commit 6839a80

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ bun = "latest"
1010
"cargo:cargo-sort" = "latest"
1111
"cargo:cargo-tarpaulin" = "latest"
1212
"pipx:bakefile" = "latest"
13+
"pipx:pre-commit" = "latest"
1314
"pipx:toml-sort" = "latest"
1415
"pipx:zerv-version" = "latest"
15-
pre-commit = "latest"
1616
uv = "latest"

bakefile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ class PythonLibSpace(_PythonLibSpace):
1919
_target: str | None = None
2020

2121
def _build_for_publish(self):
22-
cmd = ["maturin", "build", "--release", "--out", "dist/"]
22+
cmd = "maturin build --release --strip --out dist/"
2323

2424
if self._target:
25-
cmd.extend(["--target", self._target])
25+
cmd += f" --target {self._target}"
2626

2727
self.ctx.run(" ".join(cmd))
2828

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ bakefile = ["bake", "bakelib"]
5454
bindings = "bin"
5555
module-name = "zerv"
5656
python-source = "python"
57-
strip = true
5857
include = [
5958
{path = "python/zerv/**/*.py", format = ["wheel"]},
6059
{path = "python/zerv/py.typed", format = ["wheel"]}

0 commit comments

Comments
 (0)