diff --git a/crates/uv-cli/src/lib.rs b/crates/uv-cli/src/lib.rs
index 7e4a7210104b9..3a6424094bdce 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 (usually `.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 7e3b1649ed073..893164d9def45 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 (usually `.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 (usually `.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 d65e586f60414..d58d72954101b 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 (usually 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 (usually .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 (usually .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 (usually .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 (usually .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 (usually .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 (usually .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 (usually .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 (usually .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 (usually .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 (usually .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 (usually .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 (usually .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 (usually .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 (usually .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 (usually .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 0fe5287a153d9..e39d6ecfc893f 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 (usually `.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 (usually `.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 07867fe9ee75e..7c813bfef67d6 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 (usually `.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 (usually `.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"