diff --git a/tools/detect_python.fish b/tools/detect_python.fish index 17ac4daee7..bb72445c1d 100644 --- a/tools/detect_python.fish +++ b/tools/detect_python.fish @@ -5,6 +5,8 @@ set OLDEST_PYTHON_SUPPORTED_MAJOR 3 set OLDEST_PYTHON_SUPPORTED_MINOR 7 +set -x ESP_PYTHON python + for p_cmd in python3 python python3.7 python3.8 python3.9 python3.10 python3.11 python3.12; $p_cmd --version >/dev/null 2>&1; or continue echo "Checking \"$p_cmd\" ..." diff --git a/tools/detect_python.sh b/tools/detect_python.sh index 60462a1cb7..ffedd6065d 100644 --- a/tools/detect_python.sh +++ b/tools/detect_python.sh @@ -10,6 +10,8 @@ OLDEST_PYTHON_SUPPORTED_MAJOR=3 OLDEST_PYTHON_SUPPORTED_MINOR=7 +ESP_PYTHON=python + for p_cmd in python3 python python3.7 python3.8 python3.9 python3.10 python3.11 python3.12; do $p_cmd --version >/dev/null 2>&1 || continue echo "Checking \"$p_cmd\" ..."