diff --git a/{{cookiecutter.project_name}}/pyproject.toml b/{{cookiecutter.project_name}}/pyproject.toml index 17ab4820..a6d7cba5 100644 --- a/{{cookiecutter.project_name}}/pyproject.toml +++ b/{{cookiecutter.project_name}}/pyproject.toml @@ -294,6 +294,18 @@ write_to = "src/{{ cookiecutter.__project_slug }}/_version.py" {%- endif %} +{%- if cookiecutter.backend not in ["setuptools", "pybind11", "poetry", "whey"] %} + + +[tool.uv] +dev-dependencies = [ + "{{ cookiecutter.__project_slug }}[test]", +] + + +{%- endif %} + + {%- if cookiecutter.__type == "compiled" %}