diff --git a/setup.py b/setup.py index 7c832ec..537a72f 100644 --- a/setup.py +++ b/setup.py @@ -41,6 +41,8 @@ def run(self) -> None: shutil.move(src_file, dst_file) if not os.path.exists(dst_file): raise RuntimeError(f"Failed to generate {dst_file}") + if os.path.exists(src_file): + os.remove(src_file) super().run()