Include json test data in bypy freeze

This commit is contained in:
Kovid Goyal 2025-03-15 23:20:05 +05:30
parent 53c05ce769
commit 1696524949
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -89,7 +89,7 @@ def build_frozen_tools(kitty_exe):
def sanitize_source_folder(path: str) -> None:
for q in walk(path):
if os.path.splitext(q)[1] not in ('.py', '.glsl', '.ttf', '.otf'):
if os.path.splitext(q)[1] not in ('.py', '.glsl', '.ttf', '.otf', '.json'):
os.unlink(q)