From 2a20a07ed402eaa381dfdee10c34eb460fdc54a5 Mon Sep 17 00:00:00 2001 From: Scott Robinson Date: Tue, 11 Jul 2023 01:59:16 +1000 Subject: [PATCH] Use `python3` instead of `python` `python` hasn't existed on macOS since 12.3. And `python3` _should_ exist on any modern Linux installation. --- plugin/src/main/kotlin/com/nishtahir/CargoExtension.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/src/main/kotlin/com/nishtahir/CargoExtension.kt b/plugin/src/main/kotlin/com/nishtahir/CargoExtension.kt index 791d314c..132f85d7 100644 --- a/plugin/src/main/kotlin/com/nishtahir/CargoExtension.kt +++ b/plugin/src/main/kotlin/com/nishtahir/CargoExtension.kt @@ -97,7 +97,7 @@ open class CargoExtension { return if (!field.isEmpty()) { field } else { - getProperty("rust.pythonCommand", "RUST_ANDROID_GRADLE_PYTHON_COMMAND") ?: "python" + getProperty("rust.pythonCommand", "RUST_ANDROID_GRADLE_PYTHON_COMMAND") ?: "python3" } }