mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
copy cura from the package folder
Contributes to CURA-10317
This commit is contained in:
parent
d9bc5e0ad6
commit
2d5be9a88a
1 changed files with 4 additions and 4 deletions
|
@ -368,10 +368,10 @@ class CuraConan(ConanFile):
|
|||
keep_path = False)
|
||||
|
||||
# Copy resources of Cura (keep folder structure)
|
||||
copy(self, "*", self.cpp_info.bindirs[0], str(self._base_dir), keep_path = False)
|
||||
copy(self, "*", self.cpp_info.libdirs[0], str(self._site_packages.joinpath("cura")), keep_path = True)
|
||||
copy(self, "*", self.cpp_info.resdirs[0], str(self._share_dir.joinpath("cura", "resources")), keep_path = True)
|
||||
copy(self, "*", self.cpp_info.resdirs[1], str(self._share_dir.joinpath("cura", "plugins")), keep_path = True)
|
||||
copy(self, "*", os.path.join(self.package_folder, self.cpp_info.bindirs[0]), str(self._base_dir), keep_path = False)
|
||||
copy(self, "*", os.path.join(self.package_folder, self.cpp_info.libdirs[0]), str(self._site_packages.joinpath("cura")), keep_path = True)
|
||||
copy(self, "*", os.path.join(self.package_folder, self.cpp_info.resdirs[0]), str(self._share_dir.joinpath("cura", "resources")), keep_path = True)
|
||||
copy(self, "*", os.path.join(self.package_folder, self.cpp_info.resdirs[1]), str(self._share_dir.joinpath("cura", "plugins")), keep_path = True)
|
||||
|
||||
# Copy materials (flat)
|
||||
fdm_materials = self.dependencies["fdm_materials"].cpp_info
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue