mirror of
https://github.com/astral-sh/uv.git
synced 2025-12-15 22:14:06 +00:00
Make preview Python registration on Windows non-fatal (#14614)
Same as #14612 for registration with the Windows Registry.
This commit is contained in:
parent
bb1e9a247c
commit
d2c81e503f
6 changed files with 45 additions and 13 deletions
|
|
@ -4954,6 +4954,17 @@ pub struct PythonInstallArgs {
|
|||
#[arg(long, overrides_with("bin"), conflicts_with("default"))]
|
||||
pub no_bin: bool,
|
||||
|
||||
/// Register the Python installation in the Windows registry.
|
||||
///
|
||||
/// This is the default behavior on Windows. If this flag is provided explicitly, uv will error if the
|
||||
/// registry entry cannot be created.
|
||||
#[arg(long, overrides_with("no_registry"), hide = true)]
|
||||
pub registry: bool,
|
||||
|
||||
/// Do not register the Python installation in the Windows registry.
|
||||
#[arg(long, overrides_with("registry"))]
|
||||
pub no_registry: bool,
|
||||
|
||||
/// The Python version(s) to install.
|
||||
///
|
||||
/// If not provided, the requested Python version(s) will be read from the `UV_PYTHON`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue