Skip to content

Commit 493cb35

Browse files
committed
fix: add uvx prior to maturin call in nox session build-python so that it installs if needed
1 parent 7c69dae commit 493cb35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

{{cookiecutter.project_name}}/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def build_python(session: Session) -> None:
205205
"""Build sdist and wheel packages (uv build)."""
206206
session.log(f"Building sdist and wheel packages with py{session.python}.")
207207
{% if cookiecutter.add_rust_extension -%}
208-
session.run("maturin", "develop", "--uv")
208+
session.run("uvx", "maturin", "develop", "--uv")
209209
{% else -%}
210210
session.run("uv", "build", "--sdist", "--wheel", "--out-dir", "dist/", external=True)
211211
{% endif -%}

0 commit comments

Comments
 (0)