From 333f10ccc43b73cbbae349c924dae8768bb8ad86 Mon Sep 17 00:00:00 2001 From: Nat Noordanus Date: Sun, 24 Nov 2024 18:11:29 +0100 Subject: [PATCH] docs: Document compatibility with uv projects --- docs/guides/without_poetry.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/guides/without_poetry.rst b/docs/guides/without_poetry.rst index 03747ecaf..f7c033d0b 100644 --- a/docs/guides/without_poetry.rst +++ b/docs/guides/without_poetry.rst @@ -8,6 +8,14 @@ By default poe will run tasks in the poetry managed virtual environment, if the If no virtualenv is found then poe will run tasks without any special environment management. +Usage with uv +------------- + +|uv_link| is another popular tool for managing project dependencies with a pyproject.toml file. Since uv works by keeping a virtual environment inside the project directory at ``./.venv`` poethepoet will automatically discover and use uv project dependencies, just like with poetry. + +So Poe the Poet also works well with uv. + + Usage without pyproject.toml ---------------------------- @@ -62,6 +70,9 @@ When config is loaded from a file other than `pyproject.toml` the ``tool.poe`` n options: ["--var"] default: BAZ +.. |uv_link| raw:: html + + uv .. |poetry_link| raw:: html