aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside-tools/deploy.py
diff options
context:
space:
mode:
authorShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2022-10-17 11:27:13 +0200
committerShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2022-12-29 10:04:41 +0000
commite37f082c958b7a5349e245af0586b7e5e9c358ae (patch)
treef8c1d1d33258504208805085a935a23f5b913022 /sources/pyside-tools/deploy.py
parent134adfc99bf57acf84df8bfa74c545d0e43879a5 (diff)
Deploy tool: Reduce QML executable size + tests
- Added more Nuitka options to reduce the size of QML executable. Some binaries which cause the QML executable to become heavy eg: QtWebEngine are removed, if they are not used - Add new log messages for --verbose option - Add deploy.pyproject file - Modifies pyside6-deploy tests to consider the QML options, by mocking pyside6-qmlimportscanner Task-number: PYSIDE-1612 Change-Id: Id2e94217e99eedbf41ecfc8de1a37e94c7edaa52 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside-tools/deploy.py')
-rw-r--r--sources/pyside-tools/deploy.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sources/pyside-tools/deploy.py b/sources/pyside-tools/deploy.py
index dbc0e8571..731d20a51 100644
--- a/sources/pyside-tools/deploy.py
+++ b/sources/pyside-tools/deploy.py
@@ -33,9 +33,8 @@ import shutil
import traceback
from textwrap import dedent
-from deploy_lib import Config, PythonExecutable
+from deploy_lib import Config, PythonExecutable, MAJOR_VERSION
-MAJOR_VERSION = 6
EXE_FORMAT = ".exe" if sys.platform == "win32" else ".bin"