From d2644df7b6d99c49823ac77d55047f57df1f79b2 Mon Sep 17 00:00:00 2001 From: Jelle Spijker Date: Mon, 27 Mar 2023 11:54:10 +0200 Subject: [PATCH] Make it work with the export_sources method Contributes to CURA-10317 --- conanfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conanfile.py b/conanfile.py index f949c4b014..dc57ac7263 100644 --- a/conanfile.py +++ b/conanfile.py @@ -218,7 +218,7 @@ class CuraConan(ConanFile): # Collect all dll's from PyQt6 and place them in the root binaries.extend([(f"{p}", ".") for p in Path(self._site_packages, "PyQt6", "Qt6").glob("**/*.dll")]) - with open(os.path.join(self.recipe_folder, "UltiMaker-Cura.spec.jinja"), "r") as f: + with open(os.path.join(self.source_folder, "UltiMaker-Cura.spec.jinja"), "r") as f: pyinstaller = Template(f.read()) version = self.conf_info.get("user.cura:version", default = self.version, check_type = str)