mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 17:27:51 -06:00
copy cura_appy.py during generation to Script/bin
This commit is contained in:
parent
adac0c52a2
commit
818a00d4b4
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ class CuraConan(ConanFile):
|
|||
self.cpp.package.resdirs = ["resources", "plugins", "packaging", "pip_requirements"] # pip_requirements should be the last item in the list
|
||||
|
||||
def generate(self):
|
||||
copy(self, "cura_app.py", os.path.join(self.source_folder, "cura_app.py"), os.path.join(self.build_folder, self.build_folder, self.cpp_info.bindirs[0]))
|
||||
copy(self, "cura_app.py", os.path.join(self.source_folder, "cura_app.py"), str(self._script_dir))
|
||||
cura_run_envvars = self._cura_run_env.vars(self, scope = "run")
|
||||
ext = ".ps1" if self.settings.os == "Windows" else ".sh"
|
||||
cura_run_envvars.save_script(os.path.join(self.folders.generators, f"cura_run_environment{ext}"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue