From de74dac6e6be8090f63790be98e6d9a946a80354 Mon Sep 17 00:00:00 2001 From: Tania Allard Date: Mon, 18 Nov 2024 13:31:01 +0000 Subject: [PATCH] DOC - Fix syntax for local directory installation (#9193) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary This is a minor fix as the command in https://docs.astral.sh/uv/pip/packages/#installing-a-package to install projects in editable mode from local directories results in the following error: ``` error: Failed to parse: `@` Caused by: Expected package name starting with an alphanumeric character, found `@` ``` This PR adds the missing `"` ## Test Plan Using the fixed syntax here does not result in the above error, and packages are correctly installed ✨ --- docs/pip/packages.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pip/packages.md b/docs/pip/packages.md index b6fd9995e..3643f4c0c 100644 --- a/docs/pip/packages.md +++ b/docs/pip/packages.md @@ -73,7 +73,7 @@ $ uv pip install -e . To install a project in another directory as an editable package: ```console -$ uv pip install -e ruff @ ./project/ruff +$ uv pip install -e "ruff @ ./project/ruff" ``` ## Installing packages from files