Skip to content

Commit 012731c

Browse files
committed
Clean _generated.h files
1 parent 5deed81 commit 012731c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1406,7 +1406,7 @@ def excluded(root: str, d: str) -> bool:
14061406
dirs.remove(d)
14071407
for f in files:
14081408
ext = f.rpartition('.')[-1]
1409-
if ext in ('so', 'dylib', 'pyc', 'pyo'):
1409+
if ext in ('so', 'dylib', 'pyc', 'pyo') or f.endswith('_generated.h'):
14101410
os.unlink(os.path.join(root, f))
14111411
for x in glob.glob('glfw/wayland-*-protocol.[ch]'):
14121412
os.unlink(x)

0 commit comments

Comments
 (0)