aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside-tools/deploy_lib/nuitka_helper.py
diff options
context:
space:
mode:
authorShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2022-12-20 09:42:34 +0100
committerShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2022-12-29 09:01:28 +0000
commit134adfc99bf57acf84df8bfa74c545d0e43879a5 (patch)
tree6c3e5e719a0db822e35222f5ed1a239ba1f8f4cc /sources/pyside-tools/deploy_lib/nuitka_helper.py
parente6f8d88d6fd4d242b613abf6d3588a3c41570ccc (diff)
deploy tool: return Nuitka command for --dry-run
- In the case of dry_run==True, the initial call returns the Nuitka command being run to the main function Task-number: PYSIDE-1612 Change-Id: I48a6d686346dee691f01911c07901fac7f3af4c2 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside-tools/deploy_lib/nuitka_helper.py')
-rw-r--r--sources/pyside-tools/deploy_lib/nuitka_helper.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/pyside-tools/deploy_lib/nuitka_helper.py b/sources/pyside-tools/deploy_lib/nuitka_helper.py
index f7114db79..1f4e434c5 100644
--- a/sources/pyside-tools/deploy_lib/nuitka_helper.py
+++ b/sources/pyside-tools/deploy_lib/nuitka_helper.py
@@ -48,4 +48,5 @@ class Nuitka:
linux_icon = str(Path(__file__).parent / "pyside_icon.jpg")
command.append(f"--linux-onefile-icon={linux_icon}")
- run_command(command=command, dry_run=dry_run)
+ command_str = run_command(command=command, dry_run=dry_run)
+ return command_str