mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
parent
b818199403
commit
59c7a10c4b
35 changed files with 65 additions and 184 deletions
|
@ -15,14 +15,14 @@ workspace = true
|
|||
|
||||
[dependencies]
|
||||
distribution-types = { path = "../distribution-types" }
|
||||
gourgeist = { path = "../gourgeist" }
|
||||
pep508_rs = { path = "../pep508-rs" }
|
||||
platform-host = { path = "../platform-host" }
|
||||
pypi-types = { path = "../pypi-types" }
|
||||
uv-extract = { path = "../uv-extract" }
|
||||
uv-fs = { path = "../uv-fs" }
|
||||
uv-interpreter = { path = "../uv-interpreter" }
|
||||
uv-traits = { path = "../uv-traits", features = ["serde"] }
|
||||
pypi-types = { path = "../pypi-types" }
|
||||
uv-virtualenv = { path = "../uv-virtualenv" }
|
||||
|
||||
anyhow = { workspace = true }
|
||||
fs-err = { workspace = true }
|
||||
|
|
|
@ -75,7 +75,7 @@ pub enum Error {
|
|||
#[error("Source distribution not found at: {0}")]
|
||||
NotFound(PathBuf),
|
||||
#[error("Failed to create temporary virtualenv")]
|
||||
Gourgeist(#[from] gourgeist::Error),
|
||||
Virtualenv(#[from] uv_virtualenv::Error),
|
||||
#[error("Failed to run {0}")]
|
||||
CommandFailed(PathBuf, #[source] io::Error),
|
||||
#[error("{message}:\n--- stdout:\n{stdout}\n--- stderr:\n{stderr}\n---")]
|
||||
|
@ -398,10 +398,10 @@ impl SourceBuild {
|
|||
let pep517_backend = Self::get_pep517_backend(setup_py, &source_tree, &default_backend)
|
||||
.map_err(|err| *err)?;
|
||||
|
||||
let venv = gourgeist::create_venv(
|
||||
let venv = uv_virtualenv::create_venv(
|
||||
&temp_dir.path().join(".venv"),
|
||||
interpreter.clone(),
|
||||
gourgeist::Prompt::None,
|
||||
uv_virtualenv::Prompt::None,
|
||||
false,
|
||||
Vec::new(),
|
||||
)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue