From 63987e4f8f51a506e63a849a31192c230065076a Mon Sep 17 00:00:00 2001 From: Dylan Storey Date: Fri, 16 Feb 2024 09:34:04 -0500 Subject: [PATCH] Provide example of file based package install. (#1424) Added example to install packages from a file w/o editable mode. I use `pip install .` in a number of CI/CD and build scripts - it wasn't obvious to me how to achieve this with uv as `uv pip install .` throws an error about package names being expected to start with an alphanumeric character. --------- Co-authored-by: Zanie Blue --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index bc2536153..35cd230c4 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,7 @@ To install a package into the virtual environment: uv pip install flask # Install Flask. uv pip install -r requirements.txt # Install from a requirements.txt file. uv pip install -e . # Install the current project in editable mode. +uv pip install "package @ ." # Install the current project from disk ``` To generate a set of locked dependencies from an input file: