astral-sh / uv

An extremely fast Python package installer and resolver, written in Rust.
https://astral.sh/
Apache License 2.0
11.72k stars 321 forks source link

Expose `--python` as an environment variable #3284

Closed charliermarsh closed 1 week ago

charliermarsh commented 2 weeks ago

Summary

This was requested offline, and seems reasonable to me.

zanieb commented 1 week ago

Should we just go with UV_PYTHON to match our usual naming scheme? Discussed offline that UV_USE_PYTHON sort of implies a boolean option.

charliermarsh commented 1 week ago

Yeah works for me.