mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-22 21:59:37 +08:00
copy cura from the package folder
Contributes to CURA-10317
This commit is contained in:
parent
d9bc5e0ad6
commit
2d5be9a88a
@ -368,10 +368,10 @@ class CuraConan(ConanFile):
|
|||||||
keep_path = False)
|
keep_path = False)
|
||||||
|
|
||||||
# Copy resources of Cura (keep folder structure)
|
# Copy resources of Cura (keep folder structure)
|
||||||
copy(self, "*", self.cpp_info.bindirs[0], str(self._base_dir), keep_path = False)
|
copy(self, "*", os.path.join(self.package_folder, 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, "*", os.path.join(self.package_folder, 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, "*", os.path.join(self.package_folder, 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.resdirs[1]), str(self._share_dir.joinpath("cura", "plugins")), keep_path = True)
|
||||||
|
|
||||||
# Copy materials (flat)
|
# Copy materials (flat)
|
||||||
fdm_materials = self.dependencies["fdm_materials"].cpp_info
|
fdm_materials = self.dependencies["fdm_materials"].cpp_info
|
||||||
|
Loading…
x
Reference in New Issue
Block a user