build-deps: drop unnecessarypython.exe check

If `IFCOS_INSTALL_PYTHON` is enabled, then it's guaranteed that `PYTHONHOME` is set to nuget Python installation, so it will have python.exe.
This commit is contained in:
Andrej730
2026-09-14 15:51:13 +05:00
parent 3c8d8b2fda
commit b93cd182fd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -810,7 +810,7 @@ IF "%QT6_TARGET_INSTALLED%"=="TRUE" IF "%QT6_HOST_INSTALLED%"=="TRUE" (
)
set AQT_PYTHON=python
IF "%IFCOS_INSTALL_PYTHON%"=="TRUE" IF EXIST "%PYTHONHOME%\python.exe" set AQT_PYTHON="%PYTHONHOME%\python.exe"
IF "%IFCOS_INSTALL_PYTHON%"=="TRUE" set AQT_PYTHON="%PYTHONHOME%\python.exe"
%AQT_PYTHON% -m pip install --upgrade aqtinstall
IF NOT %ERRORLEVEL%==0 GOTO :Error
+1 -1
View File
@@ -848,7 +848,7 @@ def install_qt6(
mark_installation(QT6_INSTALL_DIR, build_cfg)
return
if pythonhome is not None and (pythonhome / "python.exe").exists():
if pythonhome is not None:
AQT_PYTHON = str(pythonhome / "python.exe")
else:
AQT_PYTHON = require_command("python")