mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-12 16:58:07 +00:00
Use simpler pip-like Scheme for install paths (#2173)
## Summary This will make it easier to use the paths returned by `distutils.py` (for some cases). No code or behavior changes; just removing some fields we don't need.
This commit is contained in:
parent
93f5609476
commit
5fed1f6259
13 changed files with 66 additions and 93 deletions
|
|
@ -69,8 +69,8 @@ pub fn install_wheel(
|
|||
// > 1.d Else unpack archive into platlib (site-packages).
|
||||
debug!(name, "Extracting file");
|
||||
let site_packages = match lib_kind {
|
||||
LibKind::Pure => &layout.purelib,
|
||||
LibKind::Plat => &layout.platlib,
|
||||
LibKind::Pure => &layout.scheme.purelib,
|
||||
LibKind::Plat => &layout.scheme.platlib,
|
||||
};
|
||||
let num_unpacked = link_mode.link_wheel_files(site_packages, &wheel)?;
|
||||
debug!(name, "Extracted {num_unpacked} files");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue