mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Add a content-addressed cache for wheels (#38)
Closes https://github.com/astral-sh/puffin/issues/4.
This commit is contained in:
parent
6c31631913
commit
162952bf64
7 changed files with 97 additions and 28 deletions
|
@ -54,7 +54,7 @@ pub(crate) async fn sync(src: &Path, cache: Option<&Path>) -> Result<ExitStatus>
|
|||
|
||||
// Install into the current environment.
|
||||
let wheels = resolution.into_files().collect::<Vec<_>>();
|
||||
puffin_installer::install(&wheels, &python, &client).await?;
|
||||
puffin_installer::install(&wheels, &python, &client, cache).await?;
|
||||
|
||||
#[allow(clippy::print_stdout)]
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue