makepanda: use Python 3.8 by default in makepanda.bat

Fall back to Python 3.7, but never to 2.7, since it is EOL
This commit is contained in:
rdb 2020-01-06 03:25:35 +01:00
parent 389cc4bfdb
commit 4032560e51
1 changed files with 3 additions and 3 deletions

View File

@ -16,10 +16,10 @@ if %PROCESSOR_ARCHITECTURE% == AMD64 (
set thirdparty=thirdparty
if defined MAKEPANDA_THIRDPARTY set thirdparty=%MAKEPANDA_THIRDPARTY%
if exist %thirdparty%\win-python3.7%suffix%\python.exe (
set pythondir=win-python3.7%suffix%
if exist %thirdparty%\win-python3.8%suffix%\python.exe (
set pythondir=win-python3.8%suffix%
) else (
set pythondir=win-python%suffix%
set pythondir=win-python3.7%suffix%
)
if not exist makepanda\makepanda.py goto :missing1