uv/crates/pypi-types/src
Charlie Marsh 0f6fc117c1
Query interpreter to determine correct `virtualenv` paths (#2188)
## 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.
2024-03-05 16:13:24 -05:00
..
base_url.rs Ensure authentication is passed from the index url to distribution files (#1886) 2024-02-22 18:10:17 -06:00
direct_url.rs Clippy pedantic (#1963) 2024-02-25 14:04:05 -05:00
lenient_requirement.rs Add fixup for `prefect<1.0.0` (#1825) 2024-02-21 19:47:34 +00:00
lib.rs Use simpler pip-like `Scheme` for install paths (#2173) 2024-03-04 15:50:13 -05:00
metadata.rs Clippy pedantic (#1963) 2024-02-25 14:04:05 -05:00
scheme.rs Query interpreter to determine correct `virtualenv` paths (#2188) 2024-03-05 16:13:24 -05:00
simple_json.rs fix 'uv pip install' handling of gzip'd response and PEP 691 (#1978) 2024-02-25 23:28:22 -05:00