Skip to content

Commit

Permalink
chore: support uv run (#502)
Browse files Browse the repository at this point in the history
* chore: support uv run

Signed-off-by: Henry Schreiner <[email protected]>

* Update {{cookiecutter.project_name}}/pyproject.toml

---------

Signed-off-by: Henry Schreiner <[email protected]>
  • Loading branch information
henryiii authored Oct 6, 2024
1 parent a10a3bb commit 75eaeee
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 @@ -285,6 +285,18 @@ write_to = "src/{{ cookiecutter.__project_slug }}/_version.py"
{%- endif %}


{%- if cookiecutter.backend not in ["setuptools", "pybind11", "poetry"] %}


[tool.uv]
dev-dependencies = [
"{{ cookiecutter.__project_slug }}[test]",
]


{%- endif %}


{%- if cookiecutter.__type == "compiled" %}


Expand Down

0 comments on commit 75eaeee

Please sign in to comment.