aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside-tools/deploy/nuitka_helper.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside-tools/deploy/nuitka_helper.py')
-rw-r--r--sources/pyside-tools/deploy/nuitka_helper.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/pyside-tools/deploy/nuitka_helper.py b/sources/pyside-tools/deploy/nuitka_helper.py
index 031495de7..fc0916276 100644
--- a/sources/pyside-tools/deploy/nuitka_helper.py
+++ b/sources/pyside-tools/deploy/nuitka_helper.py
@@ -1,6 +1,7 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+import os
import sys
from pathlib import Path
from . import run_command
@@ -33,7 +34,7 @@ class Nuitka:
output_dir.mkdir(parents=True, exist_ok=True)
print("[DEPLOY] Running Nuitka")
command = self.nuitka + [
- source_file,
+ os.fspath(source_file),
"--follow-imports",
"--onefile",
"--enable-plugin=pyside6",