Also clean *_generated.bin files
This commit is contained in:
parent
5ce85292b7
commit
e41897f93f
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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user