Skip to content

Commit

Permalink
Don't create Python bytecode files during interpreter discovery (#7707)
Browse files Browse the repository at this point in the history
  • Loading branch information
akx authored Sep 26, 2024
1 parent c8357b7 commit ed94030
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/uv-python/src/interpreter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit ed94030

Please sign in to comment.