[Bf-blender-cvs] [fd560ef2af6] master: Windows: Fix finding python for build helpers

Ray Molenkamp noreply at git.blender.org
Thu Oct 21 15:36:33 CEST 2021


Commit: fd560ef2af6aef06e6dad00854bfdd3fd81a8d6f
Author: Ray Molenkamp
Date:   Thu Oct 21 07:36:21 2021 -0600
Branches: master
https://developer.blender.org/rBfd560ef2af6aef06e6dad00854bfdd3fd81a8d6f

Windows: Fix finding python for build helpers

It was still looking for the 3.7 folder
rather than 3.9

===================================================================

M	build_files/windows/find_dependencies.cmd
M	build_files/windows/format.cmd

===================================================================

diff --git a/build_files/windows/find_dependencies.cmd b/build_files/windows/find_dependencies.cmd
index 0b6ae2d3c32..9fa3b156a4f 100644
--- a/build_files/windows/find_dependencies.cmd
+++ b/build_files/windows/find_dependencies.cmd
@@ -3,7 +3,7 @@ for %%X in (svn.exe) do (set SVN=%%~$PATH:X)
 for %%X in (cmake.exe) do (set CMAKE=%%~$PATH:X)
 for %%X in (ctest.exe) do (set CTEST=%%~$PATH:X)
 for %%X in (git.exe) do (set GIT=%%~$PATH:X)
-set PYTHON=%BLENDER_DIR%\..\lib\win64_vc15\python\37\bin\python.exe
+set PYTHON=%BLENDER_DIR%\..\lib\win64_vc15\python\39\bin\python.exe
 if NOT "%verbose%" == "" (
 	echo svn    : "%SVN%"
 	echo cmake  : "%CMAKE%"
diff --git a/build_files/windows/format.cmd b/build_files/windows/format.cmd
index d19595bf042..d5003c9f8d8 100644
--- a/build_files/windows/format.cmd
+++ b/build_files/windows/format.cmd
@@ -10,7 +10,7 @@ exit /b 1
 echo found clang-format in %CF_PATH%
 
 if EXIST %PYTHON% (
-    set PYTHON=%BLENDER_DIR%\..\lib\win64_vc15\python\37\bin\python.exe
+    set PYTHON=%BLENDER_DIR%\..\lib\win64_vc15\python\39\bin\python.exe
     goto detect_python_done
 )



More information about the Bf-blender-cvs mailing list