mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-03 18:38:21 +00:00
Don't create Python bytecode files during interpreter discovery (#7707)
This commit is contained in:
parent
c8357b7bf2
commit
ed940300f7
1 changed files with 2 additions and 1 deletions
|
@ -616,7 +616,8 @@ impl InterpreterInfo {
|
|||
tempdir.path().escape_for_python()
|
||||
);
|
||||
let output = Command::new(interpreter)
|
||||
.arg("-I")
|
||||
.arg("-I") // Isolated mode.
|
||||
.arg("-B") // Don't write bytecode.
|
||||
.arg("-c")
|
||||
.arg(script)
|
||||
.output()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue