From ff321409c5a0f937e88e50e28e3e12d930f1ca1b Mon Sep 17 00:00:00 2001 From: Jelle Spijker Date: Fri, 1 Jul 2022 08:56:06 +0200 Subject: [PATCH] Revert "Clean the install folder first" This reverts commit 627bd929c4cce3bac7c4c4a7cdb93e0198752563. --- conanfile.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/conanfile.py b/conanfile.py index 486ca13a25..08ed89bd78 100644 --- a/conanfile.py +++ b/conanfile.py @@ -253,9 +253,8 @@ class CuraConan(ConanFile): self.copy("*.dylib", src = "@libdirs", dst = self._script_dir) def deploy(self): - # Clean the install folder before hand - self._base_dir.unlink(missing_ok = True) - + # Copy CuraEngine.exe to bindirs of Virtual Python Environment + # TODO: Fix source such that it will get the curaengine relative from the executable (Python bindir in this case) self.copy_deps("CuraEngine.exe", root_package = "curaengine", src = self.deps_cpp_info["curaengine"].bindirs[0], dst = self._base_dir, keep_path = False)