Skip to content

Commit e1fab3c

Browse files
committed
fix: move tool.maturin section in pyproject.toml to the correct block
1 parent 2f92d90 commit e1fab3c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

{{cookiecutter.project_name}}/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ Repository = "https://github.com/{{ cookiecutter.github_user | lower | replace('
5151
[build-system]
5252
requires = "maturin>=1.3.0,<2.0"
5353
build-backend = "maturin"
54+
55+
[tool.maturin]
56+
rust-src = "rust"
5457
{% else -%}
5558
[build-system]
5659
requires = "setuptools>=61.0"
5760
build-backend = "setuptools.build_meta"
58-
59-
[tool.maturin]
60-
rust-src = "rust"
6161
{% endif -%}

0 commit comments

Comments
 (0)