mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
handle local packages correctly
Contributes to CURA-9365
This commit is contained in:
parent
ab4c62e46f
commit
c22999c314
1 changed files with 4 additions and 1 deletions
|
|
@ -143,7 +143,10 @@ class CuraConan(ConanFile):
|
|||
for data in pyinstaller_metadata["datas"].values():
|
||||
if "package" in data: # get the paths from conan package
|
||||
if data["package"] == self.name:
|
||||
if self.in_local_cache:
|
||||
src_path = Path(self.package_folder, data["src"])
|
||||
else:
|
||||
src_path = Path(self.source_folder, data["src"])
|
||||
else:
|
||||
src_path = Path(self.deps_cpp_info[data["package"]].rootpath, data["src"])
|
||||
elif "root" in data: # get the paths relative from the sourcefolder
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue