mirror of
https://github.com/astral-sh/uv
synced 2026-01-23 22:40:10 -05:00
## Summary This PR migrates our virtualenv creation from a setup that assumes prior knowledge of the correct paths, to a technique borrowed from `virtualenv` whereby we use `sysconfig` and `distutils` to determine the paths. The general trick is to grab the expected paths with `sysconfig`, then make them all relative, then make them absolute for a given directory. Closes #2095. Closes #2153.
uv-virtualenv
uv-virtualenv is a rust library to create Python virtual environments. It also has a CLI.