File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
{{cookiecutter.project_name}} Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -47,10 +47,14 @@ dev = [
4747Homepage = " https://github.com/{{ cookiecutter.github_user | lower | replace(' ', '-') }}/{{ cookiecutter.project_name.replace('_', '-') }}"
4848Repository = " https://github.com/{{ cookiecutter.github_user | lower | replace(' ', '-') }}/{{ cookiecutter.project_name.replace('_', '-') }}"
4949
50- [build-system ]
51- requires = [{% if cookiecutter.add_rust_extension == 'y' -%} "maturin>=1.3.0,<2.0" {% else -%} "setuptools>=61.0" {% endif -%}]
52- build-backend = {% if cookiecutter.add_rust_extension == 'y' -%} "maturin" {% else -%} "setuptools.build_meta" {% endif -%}
5350{% if cookiecutter.add_rust_extension == 'y' -%}
51+ [build-system ]
52+ requires = " maturin>=1.3.0,<2.0"
53+ build-backend = " maturin"
54+ {% else -%}
55+ [build-system ]
56+ requires = " setuptools>=61.0"
57+ build-backend = " setuptools.build_meta"
5458
5559[tool .maturin ]
5660rust-src = " rust"
You can’t perform that action at this time.
0 commit comments