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

31 lines
934 B
Python
Raw Normal View History

2023-01-19 10:33:49 +01:00
#!/usr/bin/python3
# SPDX-License-Identifier: LicenseRef-EliasSteurerTachiom OR AGPL-3.0-only
import sys
from pathlib import Path
2022-11-02 12:15:34 +01:00
from sys import stdout
import os
2022-11-02 12:15:34 +01:00
stdout.reconfigure(encoding='utf-8')
2022-11-11 13:09:16 +01:00
# Defined by Qt
if sys.platform == "win32":
OS = "windows"
QT_PLATFORM = "msvc2019_64"
elif sys.platform == "darwin":
OS = "mac"
QT_PLATFORM = "macos"
2023-01-29 13:26:36 +01:00
elif sys.platform == "linux":
2022-11-11 13:09:16 +01:00
OS = "linux"
QT_PLATFORM = "gcc_64"
2023-07-02 12:15:45 +02:00
SCREENPLAY_VERSION = "0.15.0"
QT_PATH = path = Path(os.path.join(os.path.realpath(__file__), "../../../aqt")).resolve()
QT_VERSION = "6.5.1"
QT_BIN_PATH = QT_PATH.joinpath(f"{QT_VERSION}/{QT_PLATFORM}/bin")
QT_TOOLS_PATH = QT_PATH.joinpath("Tools/")
2023-06-11 10:38:52 +02:00
QT_IFW_VERSION = "4.6"
# 02.06.2023 https://gitlab.com/kelteseth/screenplay-vcpkg :
2023-06-02 19:26:31 +02:00
VCPKG_VERSION = "f06975f46d8c7a1dad916e1e997584f77ae0c34a"
2022-10-14 11:54:00 +02:00
PYTHON_EXECUTABLE = "python" if sys.platform == "win32" else "python3"
2023-01-29 13:26:36 +01:00
FFMPEG_VERSION = "5.0.1"