Skip to content

Commit

Permalink
Add dynamic = ["version"]` to pyproject.toml template
Browse files Browse the repository at this point in the history
Closes #1772
  • Loading branch information
messense committed Sep 18, 2023
1 parent afb1f03 commit 2074b11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/templates/pyproject.toml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ classifiers = [
]
{% if bindings == "cffi" -%}
dependencies = ["cffi"]
{%- endif %}
{% endif -%}
dynamic = ["version"]

{% if bindings in ["bin", "cffi", "pyo3", "rust-cpython"] or mixed_non_src -%}
[tool.maturin]
Expand Down

0 comments on commit 2074b11

Please sign in to comment.