uv/crates/uv-interpreter/src
Charlie Marsh ff62fe2c0b
Avoid using setuptools shim of distutils (#2305)
## Summary

It turns out that setuptools includes a shim to patch distutils. I'll
admit that I don't fully understand why or how it's different, but this
is the trick `pip` uses to ensure that it gets the "original" distutils.

We actually use distutils in two places: once for the system Python
scheme, and once for virtual environments. In virtualenv, they _do_ use
the patched distutils, so this could deviate in ways I don't understand.

Closes #2302.
2024-03-08 14:53:49 -05:00
..
cfg.rs Fix uv-created venv detection (#1908) 2024-02-23 11:11:22 -06:00
get_interpreter_info.py Avoid using setuptools shim of distutils (#2305) 2024-03-08 14:53:49 -05:00
interpreter.rs Include exit code for build failures (#2108) 2024-03-06 01:05:50 +00:00
lib.rs Include exit code for build failures (#2108) 2024-03-06 01:05:50 +00:00
python_environment.rs Fix Conda Python detection on Windows (#2279) 2024-03-07 14:45:09 +00:00
python_query.rs Address review feedback on reparse points (#2288) 2024-03-07 16:49:27 -05:00
python_version.rs Improve interpreter discovery logging (#1909) 2024-02-23 18:43:46 +00:00
virtualenv.rs Use simpler pip-like Scheme for install paths (#2173) 2024-03-04 15:50:13 -05:00