Skip to content

Commit 3ece456

Browse files
committed
fix: move tool.maturin into the block with its contents
1 parent 23e171e commit 3ece456

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

{{cookiecutter.project_name}}/pyproject.toml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,7 @@ Repository = "https://github.com/{{ cookiecutter.github_user | lower | replace('
6262
requires = [{% if cookiecutter.add_rust_extension == 'y' -%} "maturin>=1.3.0,<2.0" {% else -%} "setuptools>=61.0" {% endif -%}]
6363
build-backend = {% if cookiecutter.add_rust_extension == 'y' -%} "maturin" {% else -%} "setuptools.build_meta" {% endif -%}
6464

65-
66-
[tool.uv]
67-
# See https://docs.astral.sh/uv/reference/configuration/
68-
69-
[tool.setuptools]
70-
# See https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
71-
72-
[tool.maturin]
73-
# See https://www.maturin.rs/pyo3_builtins.html
7465
{% if cookiecutter.add_rust_extension == 'y' -%}
66+
[tool.maturin]
7567
rust-src = "rust"
7668
{% endif -%}

0 commit comments

Comments
 (0)