Browse Source

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
rdb 6 years ago
parent
commit
4032560e51
1 changed files with 3 additions and 3 deletions
  1. 3 3
      makepanda/makepanda.bat

+ 3 - 3
makepanda/makepanda.bat

@@ -16,10 +16,10 @@ if %PROCESSOR_ARCHITECTURE% == AMD64 (
 set thirdparty=thirdparty
 set thirdparty=thirdparty
 if defined MAKEPANDA_THIRDPARTY set thirdparty=%MAKEPANDA_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 (
 ) else (
-  set pythondir=win-python%suffix%
+  set pythondir=win-python3.7%suffix%
 )
 )
 
 
 if not exist makepanda\makepanda.py goto :missing1
 if not exist makepanda\makepanda.py goto :missing1