mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Clean the install folder first
Handy for debugging Contributes to CURA-9365
This commit is contained in:
parent
1f629b9e48
commit
627bd929c4
1 changed files with 3 additions and 2 deletions
|
|
@ -252,8 +252,9 @@ class CuraConan(ConanFile):
|
||||||
self.copy("*.dylib", src = "@libdirs", dst = self._script_dir)
|
self.copy("*.dylib", src = "@libdirs", dst = self._script_dir)
|
||||||
|
|
||||||
def deploy(self):
|
def deploy(self):
|
||||||
# Copy CuraEngine.exe to bindirs of Virtual Python Environment
|
# Clean the install folder before hand
|
||||||
# TODO: Fix source such that it will get the curaengine relative from the executable (Python bindir in this case)
|
self._base_dir.unlink(missing_ok = True)
|
||||||
|
|
||||||
self.copy_deps("CuraEngine.exe", root_package = "curaengine", src = self.deps_cpp_info["curaengine"].bindirs[0],
|
self.copy_deps("CuraEngine.exe", root_package = "curaengine", src = self.deps_cpp_info["curaengine"].bindirs[0],
|
||||||
dst = self._base_dir,
|
dst = self._base_dir,
|
||||||
keep_path = False)
|
keep_path = False)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue