-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
Summary
I maintain a project at work where we're considering using uv to manage system python versions.
I would like to install a system python to a path like C:\Python310\python.exe, that is where it is now when we install through the official python installer.
I think this is a bit of a hassle with uv right now, you need to use --install-dir and then set an environment variable (which is a pain on Windows), and then all python installs will go there, not just one.
Using the currently available method, it also would be installed to C:\Python310\cpython-3.10.16-windows-x86_64-none\python.exe, which is long and eliminates some of the convenience of installing.
Distilling what I said above, this is what i want
- Be able to install a system python to a specified folder with no long-python-version-name
- Have uv be able to detect that python without an environment variable set (how does
py -0pdo it? Can't uv just add it to the PATH?)
Example
User runs
uv pip install 3.10 --install-dir C:\Python310\
and the directory looks as if they installed it with the official Python installer, and it's now available for use with uv python list