mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-09-11 22:47:45 +03:00
Oops
This commit is contained in:
parent
2c8414db5d
commit
ffc717717c
2
setup.py
2
setup.py
@ -616,7 +616,7 @@ def safe_remove(*entries):
|
||||
else:
|
||||
os.unlink(x)
|
||||
|
||||
shutil.rmtree('build', 'compile_commands.json')
|
||||
safe_remove('build', 'compile_commands.json')
|
||||
for root, dirs, files in os.walk('.'):
|
||||
remove_dirs = {d for d in dirs if d == '__pycache__'}
|
||||
[(shutil.rmtree(os.path.join(root, d)), dirs.remove(d)) for d in remove_dirs]
|
||||
|
Loading…
Reference in New Issue
Block a user