1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-07 03:22:33 +01:00

Fix aqt path on osx

This commit is contained in:
Elias Steurer 2022-10-14 11:54:00 +02:00
parent 02b2d0f354
commit 0acab25bde
2 changed files with 4 additions and 5 deletions

View File

@ -120,9 +120,8 @@ def setup(build_config: BuildConfig, build_result: BuildResult) -> Tuple[BuildCo
if build_config.use_aqt: if build_config.use_aqt:
build_config.aqt_path = defines.AQT_PATH build_config.aqt_path = defines.AQT_PATH
if not Path(build_config.aqt_path).exists(): if not build_config.aqt_path.exists():
print( print(f"aqt path does not exist at {build_config.aqt_path}. Please make sure to run setup.py!")
f"aqt path does not exist at {build_config.aqt_path}. Please make sure you have installed aqt.")
exit(2) exit(2)
# Set default to empty, because it is only used on mac # Set default to empty, because it is only used on mac

View File

@ -5,5 +5,5 @@ VCPKG_VERSION = "e2667a41fc2fc578474e9521d7eb90b769569c83" # Master 07.10.2022
QT_VERSION = "6.3.2" QT_VERSION = "6.3.2"
QT_IFW_VERSION = "4.4" QT_IFW_VERSION = "4.4"
SCREENPLAY_VERSION = "0.15.0-RC1" SCREENPLAY_VERSION = "0.15.0-RC1"
AQT_PATH = Path("C:/aqt") if sys.platform == "win32" else Path("~/aqt") AQT_PATH = Path("C:/aqt") if sys.platform == "win32" else Path().home().joinpath("aqt")
PYTHON_EXECUTABLE = "python" if sys.platform == "win32" else "python3" PYTHON_EXECUTABLE = "python" if sys.platform == "win32" else "python3"