diff --git a/rapt/buildlib/rapt/build.py b/rapt/buildlib/rapt/build.py index 7c6184f1..aeb031cb 100755 --- a/rapt/buildlib/rapt/build.py +++ b/rapt/buildlib/rapt/build.py @@ -628,7 +628,7 @@ def pack(): dfn = plat.path(dfn) - shutil.copy(sfn, dfn) + shutil.move(sfn, dfn) files.append(dfn) # Launch. @@ -651,6 +651,8 @@ def pack(): if finished is not None: finished(files) + if os.path.isdir(assets): + shutil.rmtree(assets) iface.final_success( __("The build seems to have succeeded.") +