Skip to content

Commit

Permalink
Use python.exe by default in build command on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Sep 1, 2023
1 parent 7ad01c1 commit ce0bd68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/build_options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -551,10 +551,10 @@ impl BuildOptions {
if cfg!(test) {
match env::var_os("MATURIN_TEST_PYTHON") {
Some(python) => vec![python.into()],
None => vec![PathBuf::from("python3")],
None => vec![target.get_python()],
}
} else {
vec![PathBuf::from("python3")]
vec![target.get_python()]
}
} else {
// XXX: False positive clippy warning
Expand Down

0 comments on commit ce0bd68

Please sign in to comment.