diff options
| author | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2022-10-17 11:27:13 +0200 |
|---|---|---|
| committer | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2022-12-29 10:04:41 +0000 |
| commit | e37f082c958b7a5349e245af0586b7e5e9c358ae (patch) | |
| tree | f8c1d1d33258504208805085a935a23f5b913022 /sources/pyside-tools/deploy_lib/python_helper.py | |
| parent | 134adfc99bf57acf84df8bfa74c545d0e43879a5 (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_lib/python_helper.py')
| -rw-r--r-- | sources/pyside-tools/deploy_lib/python_helper.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/pyside-tools/deploy_lib/python_helper.py b/sources/pyside-tools/deploy_lib/python_helper.py index e92ce8e0c..0c1978a9d 100644 --- a/sources/pyside-tools/deploy_lib/python_helper.py +++ b/sources/pyside-tools/deploy_lib/python_helper.py @@ -60,7 +60,7 @@ class PythonExecutable: dry_run=self.dry_run, ) else: - logging.info(f"[DEPLOY]: Upgrading package: {package}") + logging.info(f"[DEPLOY] Upgrading package: {package}") run_command( command=[self.exe, "-m", "pip", "install", "--upgrade", package], dry_run=self.dry_run, @@ -77,6 +77,7 @@ class PythonExecutable: source_file=source_file, extra_args=extra_args, qml_files=config.qml_files, + excluded_qml_plugins=config.excluded_qml_plugins, dry_run=self.dry_run, ) |
