mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 08:35:14 +00:00
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:
+1
-1
@@ -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
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user