convert to posixpath string

Contributes to CURA-9365
This commit is contained in:
j.spijker@ultimaker.com 2022-07-06 14:17:53 +02:00 committed by Jelle Spijker
parent 7405b55d7d
commit c9587c3d21
No known key found for this signature in database
GPG key ID: 6662DC033BE6B99A

View file

@ -139,7 +139,7 @@ class CuraConan(ConanFile):
def _generate_pyinstaller_spec(self, location, entrypoint_location, icon_path, entitlements_file):
pyinstaller_metadata = self._um_data(self.version)["pyinstaller"]
datas = [(self._base_dir.joinpath("conan_install_info.json", "."))]
datas = [(str(self._base_dir.joinpath("conan_install_info.json"), "."))]
for data in pyinstaller_metadata["datas"].values():
if "package" in data: # get the paths from conan package
if data["package"] == self.name: