mirror of
https://github.com/astral-sh/uv.git
synced 2025-09-25 19:49:14 +00:00
Add support for configuring python-downloads
with UV_PYTHON_DOWNLOADS
(#6436)
Part of https://github.com/astral-sh/uv/issues/6406 Replaces #6416
This commit is contained in:
parent
99d278f9f5
commit
7502a963e1
7 changed files with 74 additions and 45 deletions
|
@ -20,6 +20,11 @@ const REPLACEMENTS: &[(&str, &str)] = &[
|
|||
"<code>uv help python</code>",
|
||||
"<a href=\"#uv-python\">uv python</a>",
|
||||
),
|
||||
// Drop the manually included `env` section for `--no-python-downloads`
|
||||
// TODO(zanieb): In general, we should show all of the environment variables in the reference
|
||||
// but this one is non-standard so it's the only one included right now. When we tackle the rest
|
||||
// we can fix the formatting.
|
||||
(" [env: "UV<em>PYTHON</em>DOWNLOADS=never"]", ""),
|
||||
];
|
||||
|
||||
const SHOW_HIDDEN_COMMANDS: &[&str] = &["generate-shell-completion"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue