uv/crates/uv-interpreter/src
Charlie Marsh c9ffe976f9
Centralize virtualenv path construction (#2102)
## Summary

Right now, we have virtualenv construction encoded in a few different
places. Namely, it happens in both `gourgeist` and
`virtualenv_layout.rs` -- _and_ `interpreter.rs` also encodes some
knowledge about how they work, by way of reconstructing the
`SysconfigPaths`.

Instead, `gourgeist` now returns the complete layout, enumerating all
the directories it created. So, rather than returning a root directory,
and re-creating all those paths in `uv-interpreter`, we pass the data
directly back to it.
2024-03-01 15:52:48 +00:00
..
cfg.rs Fix uv-created venv detection (#1908) 2024-02-23 11:11:22 -06:00
get_interpreter_info.py Add a --python flag to allow installation into arbitrary Python interpreters (#2000) 2024-02-28 02:10:29 +00:00
interpreter.rs Centralize virtualenv path construction (#2102) 2024-03-01 15:52:48 +00:00
lib.rs Centralize virtualenv path construction (#2102) 2024-03-01 15:52:48 +00:00
python_environment.rs Centralize virtualenv path construction (#2102) 2024-03-01 15:52:48 +00:00
python_query.rs Prioritize PATH over py --list-paths in Windows selection (#2057) 2024-02-29 15:06:29 +00:00
python_version.rs Improve interpreter discovery logging (#1909) 2024-02-23 18:43:46 +00:00
sysconfig.rs Centralize virtualenv path construction (#2102) 2024-03-01 15:52:48 +00:00
virtualenv.rs Centralize virtualenv path construction (#2102) 2024-03-01 15:52:48 +00:00