mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Add source distribution filename abstraction (#154)
The need for this became clear when working on the source distribution integration into the resolver. While at it i also switch the `WheelFilename` version to the parsed `pep440_rs` version now that we have this crate.
This commit is contained in:
parent
6f52b5ca4d
commit
ae9d1f7572
19 changed files with 220 additions and 58 deletions
|
@ -15,7 +15,7 @@ license = { workspace = true }
|
|||
|
||||
[dependencies]
|
||||
install-wheel-rs = { path = "../install-wheel-rs", optional = true }
|
||||
wheel-filename = { path = "../wheel-filename" }
|
||||
distribution-filename = { path = "../distribution-filename" }
|
||||
|
||||
camino = { workspace = true }
|
||||
clap = { workspace = true }
|
||||
|
|
|
@ -10,8 +10,8 @@ use rayon::iter::{IntoParallelIterator, ParallelIterator};
|
|||
use tempfile::NamedTempFile;
|
||||
use tracing::debug;
|
||||
|
||||
use distribution_filename::WheelFilename;
|
||||
use install_wheel_rs::{install_wheel, InstallLocation};
|
||||
use wheel_filename::WheelFilename;
|
||||
|
||||
use crate::bare::VenvPaths;
|
||||
use crate::interpreter::InterpreterInfo;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue