diff --git a/README.md b/README.md
index 3975d146e..8962db512 100644
--- a/README.md
+++ b/README.md
@@ -31,8 +31,8 @@ An extremely fast Python package and project manager, written in Rust.
[inline dependency metadata](https://docs.astral.sh/uv/guides/scripts#declaring-script-dependencies).
- 🗂️ Provides [comprehensive project management](#project-management), with a
[universal lockfile](https://docs.astral.sh/uv/concepts/projects#project-lockfile).
-- 🔩 Includes a [pip-compatible interface](#the-pip-interface) for a performance boost with a
- familiar CLI.
+- 🔩 Includes a [pip-compatible interface](#a-pip-compatible-interface) for a performance boost with
+ a familiar CLI.
- 🏢 Supports Cargo-style [workspaces](https://docs.astral.sh/uv/concepts/workspaces) for scalable
projects.
- 💾 Disk-space efficient, with a [global cache](https://docs.astral.sh/uv/concepts/cache) for
diff --git a/crates/uv-cli/src/lib.rs b/crates/uv-cli/src/lib.rs
index 7e4a72101..c6e9d3e42 100644
--- a/crates/uv-cli/src/lib.rs
+++ b/crates/uv-cli/src/lib.rs
@@ -3562,7 +3562,7 @@ pub struct IndexArgs {
/// indexes.
///
/// If a path, the target must be a directory that contains packages as wheel files (`.whl`) or
- /// source distributions (`.tar.gz` or `.zip`) at the top level.
+ /// source distributions (e.g., `.tar.gz` or `.zip`) at the top level.
///
/// If a URL, the page must contain a flat list of links to package files adhering to the
/// formats described above.
diff --git a/crates/uv-settings/src/settings.rs b/crates/uv-settings/src/settings.rs
index 7e3b1649e..84fcfec22 100644
--- a/crates/uv-settings/src/settings.rs
+++ b/crates/uv-settings/src/settings.rs
@@ -318,7 +318,7 @@ pub struct ResolverInstallerOptions {
/// indexes.
///
/// If a path, the target must be a directory that contains packages as wheel files (`.whl`) or
- /// source distributions (`.tar.gz` or `.zip`) at the top level.
+ /// source distributions (e.g., `.tar.gz` or `.zip`) at the top level.
///
/// If a URL, the page must contain a flat list of links to package files adhering to the
/// formats described above.
@@ -705,7 +705,7 @@ pub struct PipOptions {
/// indexes.
///
/// If a path, the target must be a directory that contains packages as wheel files (`.whl`) or
- /// source distributions (`.tar.gz` or `.zip`) at the top level.
+ /// source distributions (e.g., `.tar.gz` or `.zip`) at the top level.
///
/// If a URL, the page must contain a flat list of links to package files adhering to the
/// formats described above.
diff --git a/docs/concepts/dependencies.md b/docs/concepts/dependencies.md
index d65e586f6..e45ea9dcd 100644
--- a/docs/concepts/dependencies.md
+++ b/docs/concepts/dependencies.md
@@ -128,7 +128,8 @@ A `subdirectory` may be specified if the package isn't in the repository root.
### URL
To add a URL source, provide a `https://` URL to either a wheel (ending in `.whl`) or a source
-distribution (ending in `.zip` or `.tar.gz`).
+distribution (typically ending in `.tar.gz` or `.zip`; see
+[here](../concepts/resolution.md#source-distribution) for all supported formats).
For example:
@@ -149,13 +150,14 @@ httpx = { url = "https://files.pythonhosted.org/packages/5c/2d/3da5bdf4408b8b280
```
URL dependencies can also be manually added or edited in the `pyproject.toml` with the
-`{ url = May also be set with the Locations to search for candidate distributions, in addition to those found in the registry indexes. If a path, the target must be a directory that contains packages as wheel files ( If a path, the target must be a directory that contains packages as wheel files ( If a URL, the page must contain a flat list of links to package files adhering to the formats described above. May also be set with the Locations to search for candidate distributions, in addition to those found in the registry indexes. If a path, the target must be a directory that contains packages as wheel files ( If a path, the target must be a directory that contains packages as wheel files ( If a URL, the page must contain a flat list of links to package files adhering to the formats described above. May also be set with the Locations to search for candidate distributions, in addition to those found in the registry indexes. If a path, the target must be a directory that contains packages as wheel files ( If a path, the target must be a directory that contains packages as wheel files ( If a URL, the page must contain a flat list of links to package files adhering to the formats described above. May also be set with the Locations to search for candidate distributions, in addition to those found in the registry indexes. If a path, the target must be a directory that contains packages as wheel files ( If a path, the target must be a directory that contains packages as wheel files ( If a URL, the page must contain a flat list of links to package files adhering to the formats described above. May also be set with the Locations to search for candidate distributions, in addition to those found in the registry indexes. If a path, the target must be a directory that contains packages as wheel files ( If a path, the target must be a directory that contains packages as wheel files ( If a URL, the page must contain a flat list of links to package files adhering to the formats described above. May also be set with the Locations to search for candidate distributions, in addition to those found in the registry indexes. If a path, the target must be a directory that contains packages as wheel files ( If a path, the target must be a directory that contains packages as wheel files ( If a URL, the page must contain a flat list of links to package files adhering to the formats described above. May also be set with the Locations to search for candidate distributions, in addition to those found in the registry indexes. If a path, the target must be a directory that contains packages as wheel files ( If a path, the target must be a directory that contains packages as wheel files ( If a URL, the page must contain a flat list of links to package files adhering to the formats described above. May also be set with the Locations to search for candidate distributions, in addition to those found in the registry indexes. If a path, the target must be a directory that contains packages as wheel files ( If a path, the target must be a directory that contains packages as wheel files ( If a URL, the page must contain a flat list of links to package files adhering to the formats described above. May also be set with the Locations to search for candidate distributions, in addition to those found in the registry indexes. If a path, the target must be a directory that contains packages as wheel files ( If a path, the target must be a directory that contains packages as wheel files ( If a URL, the page must contain a flat list of links to package files adhering to the formats described above. May also be set with the Locations to search for candidate distributions, in addition to those found in the registry indexes. If a path, the target must be a directory that contains packages as wheel files ( If a path, the target must be a directory that contains packages as wheel files ( If a URL, the page must contain a flat list of links to package files adhering to the formats described above. May also be set with the Locations to search for candidate distributions, in addition to those found in the registry indexes. If a path, the target must be a directory that contains packages as wheel files ( If a path, the target must be a directory that contains packages as wheel files ( If a URL, the page must contain a flat list of links to package files adhering to the formats described above. May also be set with the Locations to search for candidate distributions, in addition to those found in the registry indexes. If a path, the target must be a directory that contains packages as wheel files ( If a path, the target must be a directory that contains packages as wheel files ( If a URL, the page must contain a flat list of links to package files adhering to the formats described above.UV_EXTRA_INDEX_URL environment variable.--find-links, -f find-links.whl) or source distributions (.tar.gz or .zip) at the top level..whl) or source distributions (e.g., .tar.gz or .zip) at the top level.UV_EXTRA_INDEX_URL environment variable.--find-links, -f find-links.whl) or source distributions (.tar.gz or .zip) at the top level..whl) or source distributions (e.g., .tar.gz or .zip) at the top level.UV_EXTRA_INDEX_URL environment variable.--find-links, -f find-links.whl) or source distributions (.tar.gz or .zip) at the top level..whl) or source distributions (e.g., .tar.gz or .zip) at the top level.UV_EXTRA_INDEX_URL environment variable.--find-links, -f find-links.whl) or source distributions (.tar.gz or .zip) at the top level..whl) or source distributions (e.g., .tar.gz or .zip) at the top level.UV_EXTRA_INDEX_URL environment variable.--find-links, -f find-links.whl) or source distributions (.tar.gz or .zip) at the top level..whl) or source distributions (e.g., .tar.gz or .zip) at the top level.UV_EXTRA_INDEX_URL environment variable.--find-links, -f find-links.whl) or source distributions (.tar.gz or .zip) at the top level..whl) or source distributions (e.g., .tar.gz or .zip) at the top level.UV_EXTRA_INDEX_URL environment variable.--find-links, -f find-links.whl) or source distributions (.tar.gz or .zip) at the top level..whl) or source distributions (e.g., .tar.gz or .zip) at the top level.UV_EXTRA_INDEX_URL environment variable.--find-links, -f find-links.whl) or source distributions (.tar.gz or .zip) at the top level..whl) or source distributions (e.g., .tar.gz or .zip) at the top level.UV_EXTRA_INDEX_URL environment variable.--find-links, -f find-links.whl) or source distributions (.tar.gz or .zip) at the top level..whl) or source distributions (e.g., .tar.gz or .zip) at the top level.UV_EXTRA_INDEX_URL environment variable.--find-links, -f find-links.whl) or source distributions (.tar.gz or .zip) at the top level..whl) or source distributions (e.g., .tar.gz or .zip) at the top level.UV_EXTRA_INDEX_URL environment variable.--find-links, -f find-links.whl) or source distributions (.tar.gz or .zip) at the top level..whl) or source distributions (e.g., .tar.gz or .zip) at the top level.UV_EXTRA_INDEX_URL environment variable.--find-links, -f find-links.whl) or source distributions (.tar.gz or .zip) at the top level..whl) or source distributions (e.g., .tar.gz or .zip) at the top level.UV_EXTRA_INDEX_URL environment variable.
--find-links, -f find-linksLocations to search for candidate distributions, in addition to those found in the registry indexes.
-If a path, the target must be a directory that contains packages as wheel files (.whl) or source distributions (.tar.gz or .zip) at the top level.
If a path, the target must be a directory that contains packages as wheel files (.whl) or source distributions (e.g., .tar.gz or .zip) at the top level.
If a URL, the page must contain a flat list of links to package files adhering to the formats described above.
@@ -6057,7 +6057,7 @@ uv venv [OPTIONS] [PATH]May also be set with the UV_EXTRA_INDEX_URL environment variable.
--find-links, -f find-linksLocations to search for candidate distributions, in addition to those found in the registry indexes.
-If a path, the target must be a directory that contains packages as wheel files (.whl) or source distributions (.tar.gz or .zip) at the top level.
If a path, the target must be a directory that contains packages as wheel files (.whl) or source distributions (e.g., .tar.gz or .zip) at the top level.
If a URL, the page must contain a flat list of links to package files adhering to the formats described above.
@@ -6282,7 +6282,7 @@ uv build [OPTIONS] [SRC]May also be set with the UV_EXTRA_INDEX_URL environment variable.
--find-links, -f find-linksLocations to search for candidate distributions, in addition to those found in the registry indexes.
-If a path, the target must be a directory that contains packages as wheel files (.whl) or source distributions (.tar.gz or .zip) at the top level.
If a path, the target must be a directory that contains packages as wheel files (.whl) or source distributions (e.g., .tar.gz or .zip) at the top level.
If a URL, the page must contain a flat list of links to package files adhering to the formats described above.
diff --git a/docs/reference/settings.md b/docs/reference/settings.md index 0fe5287a1..0d24a32b0 100644 --- a/docs/reference/settings.md +++ b/docs/reference/settings.md @@ -370,7 +370,7 @@ Locations to search for candidate distributions, in addition to those found in t indexes. If a path, the target must be a directory that contains packages as wheel files (`.whl`) or -source distributions (`.tar.gz` or `.zip`) at the top level. +source distributions (e.g., `.tar.gz` or `.zip`) at the top level. If a URL, the page must contain a flat list of links to package files adhering to the formats described above. @@ -1662,7 +1662,7 @@ Locations to search for candidate distributions, in addition to those found in t indexes. If a path, the target must be a directory that contains packages as wheel files (`.whl`) or -source distributions (`.tar.gz` or `.zip`) at the top level. +source distributions (e.g., `.tar.gz` or `.zip`) at the top level. If a URL, the page must contain a flat list of links to package files adhering to the formats described above. diff --git a/uv.schema.json b/uv.schema.json index 07867fe9e..2047d1934 100644 --- a/uv.schema.json +++ b/uv.schema.json @@ -118,7 +118,7 @@ } }, "find-links": { - "description": "Locations to search for candidate distributions, in addition to those found in the registry indexes.\n\nIf a path, the target must be a directory that contains packages as wheel files (`.whl`) or source distributions (`.tar.gz` or `.zip`) at the top level.\n\nIf a URL, the page must contain a flat list of links to package files adhering to the formats described above.", + "description": "Locations to search for candidate distributions, in addition to those found in the registry indexes.\n\nIf a path, the target must be a directory that contains packages as wheel files (`.whl`) or source distributions (e.g., `.tar.gz` or `.zip`) at the top level.\n\nIf a URL, the page must contain a flat list of links to package files adhering to the formats described above.", "type": [ "array", "null" @@ -698,7 +698,7 @@ } }, "find-links": { - "description": "Locations to search for candidate distributions, in addition to those found in the registry indexes.\n\nIf a path, the target must be a directory that contains packages as wheel files (`.whl`) or source distributions (`.tar.gz` or `.zip`) at the top level.\n\nIf a URL, the page must contain a flat list of links to package files adhering to the formats described above.", + "description": "Locations to search for candidate distributions, in addition to those found in the registry indexes.\n\nIf a path, the target must be a directory that contains packages as wheel files (`.whl`) or source distributions (e.g., `.tar.gz` or `.zip`) at the top level.\n\nIf a URL, the page must contain a flat list of links to package files adhering to the formats described above.", "type": [ "array", "null"