Add support for --system-site-packages in uv venv (#2101)

## Summary

Adds support for `--system-site-packages`. Unlike `pip`, we won't take
the system site packages into account in subsequent commands. I think
this is ok.

Closes https://github.com/astral-sh/uv/issues/1483.
This commit is contained in:
Charlie Marsh 2024-03-01 09:05:19 -05:00 committed by GitHub
parent d0ffabd1f2
commit c579e6f6bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 33 additions and 3 deletions

View file

@ -402,6 +402,7 @@ impl SourceBuild {
&temp_dir.path().join(".venv"),
interpreter.clone(),
gourgeist::Prompt::None,
false,
Vec::new(),
)?;