Skip to content

Commit

Permalink
Tools: Use default value in the Python detections scripts
Browse files Browse the repository at this point in the history
Closes #8549
  • Loading branch information
dobairoland committed Mar 11, 2022
1 parent b02ac9c commit e4b1ffd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/detect_python.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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\" ..."
Expand Down
2 changes: 2 additions & 0 deletions tools/detect_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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\" ..."
Expand Down

0 comments on commit e4b1ffd

Please sign in to comment.