From 95df77323fcd0b9cc1e4e4b49947a04595aaf809 Mon Sep 17 00:00:00 2001 From: Ray Molenkamp Date: Tue, 20 Feb 2024 12:03:11 -0700 Subject: [PATCH] Make.bat: Only warn about python if the lib folder exists People running `make update` first time, will not have a lib folder yet, and get a warning about python being missing, this sends some of them off onto somewhat of a wild goose chase installing python when this is really not needed since it's included in our libraries. This change, changes the warning to only emit when the lib folder exists, but python is missing in the lib folder and there actually is likely an issue with the lib folder. --- build_files/windows/find_dependencies.cmd | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build_files/windows/find_dependencies.cmd b/build_files/windows/find_dependencies.cmd index 1dfb4847e1b..d95045948cb 100644 --- a/build_files/windows/find_dependencies.cmd +++ b/build_files/windows/find_dependencies.cmd @@ -25,7 +25,12 @@ if EXIST %PYTHON% ( ) if NOT EXIST %PYTHON% ( - echo Warning: Python not found, there is likely an issue with the library folder + REM Only emit this warning when the library folder exists but the + REM python folder does not. As we don't want to concern people that + REM run make update for the first time. + if EXIST %BLENDER_DIR%\..\lib\win64_vc15 ( + echo Warning: Python not found, there is likely an issue with the library folder + ) set PYTHON="" )