Pyinstaller package directories from the instal directory

Contributes to CURA-10951
This commit is contained in:
jellespijker 2023-08-30 10:51:53 +02:00 committed by Jelle Spijker
parent eeb3050e08
commit 0210b06fbb
2 changed files with 6 additions and 2 deletions

View file

@ -210,8 +210,8 @@ class CuraConan(ConanFile):
src_path = os.path.join(self.source_folder, data["src"])
else:
src_path = os.path.join(self.deps_cpp_info[data["package"]].rootpath, data["src"])
elif "root" in data: # get the paths relative from the sourcefolder
src_path = os.path.join(self.source_folder, data["root"], data["src"])
elif "root" in data: # get the paths relative from the install folder
src_path = os.path.join(self.install_folder, data["root"], data["src"])
else:
continue
if Path(src_path).exists():