mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 10:17:52 -06:00
deploy packaging scripts
Contributes CURA-10951
This commit is contained in:
parent
b5fbcce33f
commit
f1df7f67d5
1 changed files with 2 additions and 0 deletions
|
@ -417,6 +417,8 @@ class CuraConan(ConanFile):
|
||||||
self.run(f"{cpp_info.bindirs[0]}/msgfmt {po_file} -o {mo_file} -f", env="conanbuild", ignore_errors=True)
|
self.run(f"{cpp_info.bindirs[0]}/msgfmt {po_file} -o {mo_file} -f", env="conanbuild", ignore_errors=True)
|
||||||
|
|
||||||
def deploy(self):
|
def deploy(self):
|
||||||
|
copy(self, "*", os.path.join(self.package_folder, self.cpp.package.resdirs[2]), os.path.join(self.install_folder, "packaging"), keep_path = True)
|
||||||
|
|
||||||
# Copy resources of Cura (keep folder structure) needed by pyinstaller to determine the module structure
|
# Copy resources of Cura (keep folder structure) needed by pyinstaller to determine the module structure
|
||||||
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.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.libdirs[0]), str(self._site_packages.joinpath("cura")), keep_path = True)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue