mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-17 05:54:59 +02:00
Revert #6114
Frozen kitty builds dont have python files (they are loaded from a single mmmaped archive), so the test will prevent any kittens from being found. Have make clean remove leftover kittens directories
This commit is contained in:
3
setup.py
3
setup.py
@@ -1516,6 +1516,9 @@ def clean() -> None:
|
||||
os.unlink(os.path.join(root, f))
|
||||
for x in glob.glob('glfw/wayland-*-protocol.[ch]'):
|
||||
os.unlink(x)
|
||||
for x in glob.glob('kittens/*'):
|
||||
if os.path.isdir(x) and not os.path.exists(os.path.join(x, '__init__.py')):
|
||||
shutil.rmtree(x)
|
||||
subprocess.check_call(['go', 'clean', '-cache', '-testcache', '-modcache', '-fuzzcache'])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user