diff options
| author | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2022-10-25 14:13:59 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-10-25 14:17:33 +0000 |
| commit | 3a3eb76b59615dd8db2a9220f26c46cf3d839b59 (patch) | |
| tree | a25a579cbfe66fc2b854ae2449c5014dc5b1058b /sources/pyside-tools/deploy/python_helper.py | |
| parent | 63559f52e0a17739355138d563ec8f08cab51f0a (diff) | |
Deploy Tool Fix: os.fspath instead of pathlib
- for subprocess calls use os.fspath instead of pathlib
Pick-to: 6.4 6.4.0
Change-Id: I7f0a47d4c8a0d9daa55d6b432f9bac9ed2019a91
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside-tools/deploy/python_helper.py')
| -rw-r--r-- | sources/pyside-tools/deploy/python_helper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside-tools/deploy/python_helper.py b/sources/pyside-tools/deploy/python_helper.py index 3831b7dde..ea5859cea 100644 --- a/sources/pyside-tools/deploy/python_helper.py +++ b/sources/pyside-tools/deploy/python_helper.py @@ -20,7 +20,7 @@ class PythonExecutable: self.dry_run = dry_run if create_venv: self.__create_venv() - self.nuitka = Nuitka(nuitka=[self.exe, "-m", "nuitka"]) + self.nuitka = Nuitka(nuitka=[os.fspath(self.exe), "-m", "nuitka"]) @property def exe(self): |
