♻️ limit the site prefix only to windows

This commit is contained in:
Ondřej Samohel 2024-05-02 11:42:46 +02:00
parent 7c20ec0b56
commit 2c5a43dc93
No known key found for this signature in database
GPG key ID: 02376E18990A97C6

View file

@ -303,9 +303,12 @@ class UEProjectGenerationWorker(UEWorker):
"install",
"--ignore-installed",
pyside_version,
"--prefix", site_packages_prefix,
]
if platform.system().lower() == "windows":
pyside_cmd += ["--target", site_packages_prefix]
print(f"--- Installing {pyside_version} ...")
print(" ".join(pyside_cmd))