f26c36c96b
Several sub commands tried on their own to locate python, given I wanted to look in several locations for a broader libdir compatibility this is best done in a central location. Python 3.9 is still preferred, but if 3.10-3.12 are available that be accepted as well. note: this is about the python version make.bat uses to run various python helper scripts, this change has no influence on the python version blender itself uses.
11 lines
332 B
Batchfile
11 lines
332 B
Batchfile
if NOT EXIST %PYTHON% (
|
|
echo python not found, required for this operation
|
|
exit /b 1
|
|
)
|
|
:detect_python_done
|
|
|
|
REM Use -B to avoid writing __pycache__ in lib directory and causing update conflicts.
|
|
%PYTHON% -B %BLENDER_DIR%\build_files\utils\make_update.py --git-command "%GIT%" --svn-command "%SVN%" %BUILD_UPDATE_ARGS%
|
|
|
|
:EOF
|