From 6e4845fffba7ecd24c4b61384e05f53ee439ab15 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Thu, 23 Jan 2025 21:34:50 -0600 Subject: [PATCH] Add documentation for `uv add -r` (#10926) Closes https://github.com/astral-sh/uv/issues/10924 --- docs/concepts/projects/dependencies.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/concepts/projects/dependencies.md b/docs/concepts/projects/dependencies.md index 1d438d19e..4b0dca268 100644 --- a/docs/concepts/projects/dependencies.md +++ b/docs/concepts/projects/dependencies.md @@ -77,6 +77,14 @@ $ uv add "httpx>9999" we can conclude that your project's requirements are unsatisfiable. ``` +### Importing dependencies + +Dependencies declared in a `requirements.txt` file can be added to the project with the `-r` option: + +``` +uv add -r requirements.txt +``` + ## Removing dependencies To remove a dependency: