From 50b13cdd77687787236737e8dfe7634a020d9dd7 Mon Sep 17 00:00:00 2001 From: Erwan MATHIEU Date: Fri, 22 Nov 2024 10:56:41 +0100 Subject: [PATCH] Cleanup code --- conanfile.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/conanfile.py b/conanfile.py index 6a0fe99b7e..311c3183b4 100644 --- a/conanfile.py +++ b/conanfile.py @@ -136,7 +136,6 @@ class CuraConan(ConanFile): name, version = package.split(",") python_installs[name] = {"version": version} - print(python_installs) return python_installs def _generate_cura_version(self, location): @@ -372,6 +371,9 @@ class CuraConan(ConanFile): self.run(f"{cpp_info.bindirs[0]}/msgfmt {po_file} -o {mo_file} -f", env="conanbuild", ignore_errors=True) def deploy(self): + ''' Note: this deploy step is actually used to prepare for building a Cura distribution with pyinstaller, which is not + the original purpose in the Conan philosophy ''' + copy(self, "*", os.path.join(self.package_folder, self.cpp.package.resdirs[2]), os.path.join(self.deploy_folder, "packaging"), keep_path = True) # Copy resources of Cura (keep folder structure) needed by pyinstaller to determine the module structure