uv/crates/uv-cli
Zanie Blue 63443f1984
Add uv python install --default (#8650)
This pull request is best viewed with [whitespace
hidden](https://github.com/astral-sh/uv/pull/8650/files?diff=unified&w=1)

Adds a `--default` flag to `uv python install` in preview. This includes
a `python` and `python{major}` executable in addition to the
`python{major}.{minor}` executable. We will replace uv-managed
executables, but externally managed executables require the `--force`
flag to overwrite.

If you run `uv python install` (without arguments), we include the
`--default` flag implicitly to populate `python` and `python3` for the
"default" install version.

In the future, we should add a warning if the installed executable isn't
at the front of the PATH.
2024-12-02 19:04:57 -06:00
..
src Add uv python install --default (#8650) 2024-12-02 19:04:57 -06:00
build.rs chore(uv): more env var mappings (#8193) 2024-10-15 07:59:03 -04:00
Cargo.toml chore(uv): more env var mappings (#8193) 2024-10-15 07:59:03 -04:00