Skip to content

Commit

Permalink
Cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
wawanbreton committed Nov 22, 2024
1 parent b8fd3d7 commit 50b13cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ def _python_installs(self):
name, version = package.split(",")
python_installs[name] = {"version": version}

print(python_installs)
return python_installs

def _generate_cura_version(self, location):
Expand Down Expand Up @@ -372,6 +371,9 @@ def build(self):
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
Expand Down

0 comments on commit 50b13cd

Please sign in to comment.