Skip to content

Commit

Permalink
chore: support uv run
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <[email protected]>
  • Loading branch information
henryiii committed Oct 6, 2024
1 parent 2469e5d commit 38e7ddb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions {{cookiecutter.project_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" %}


Expand Down

0 comments on commit 38e7ddb

Please sign in to comment.