diff --git a/setup.py b/setup.py index d1c8504e9..8854ba0dc 100755 --- a/setup.py +++ b/setup.py @@ -887,7 +887,10 @@ def clean(): else: os.unlink(x) - safe_remove('build', 'compile_commands.json', 'linux-package', 'kitty.app', 'asan-launcher', 'kitty-profile', 'kitty/launcher') + safe_remove( + 'build', 'compile_commands.json', 'link_commands.json', + 'linux-package', 'kitty.app', 'asan-launcher', + 'kitty-profile', 'kitty/launcher') exclude = ('.git',) for root, dirs, files in os.walk('.', topdown=True): dirs[:] = [d for d in dirs if d not in exclude]