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
@@ -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")