mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-19 23:14:55 +02:00
Also clean *_generated.bin files
This commit is contained in:
2
setup.py
2
setup.py
@@ -1513,7 +1513,7 @@ def clean() -> None:
|
|||||||
dirs.remove(d)
|
dirs.remove(d)
|
||||||
for f in files:
|
for f in files:
|
||||||
ext = f.rpartition('.')[-1]
|
ext = f.rpartition('.')[-1]
|
||||||
if ext in ('so', 'dylib', 'pyc', 'pyo') or f.endswith('_generated.h') or f.endswith('_generated.go'):
|
if ext in ('so', 'dylib', 'pyc', 'pyo') or f.endswith('_generated.h') or f.endswith('_generated.go') or f.endswith('_generated.bin'):
|
||||||
os.unlink(os.path.join(root, f))
|
os.unlink(os.path.join(root, f))
|
||||||
for x in glob.glob('glfw/wayland-*-protocol.[ch]'):
|
for x in glob.glob('glfw/wayland-*-protocol.[ch]'):
|
||||||
os.unlink(x)
|
os.unlink(x)
|
||||||
|
|||||||
Reference in New Issue
Block a user