Fix pipeline files not being added when building package

This commit is contained in:
Kovid Goyal 2026-09-23 10:38:09 +05:30
parent d997022881
commit 05f4024dcc
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -2132,7 +2132,7 @@ def package(args: Options, bundle_type: str, do_build_all: bool = True) -> None:
shutil.copy2('logo/beam-cursor@2x.png', os.path.join(libdir, 'logo'))
shutil.copytree('shell-integration', os.path.join(libdir, 'shell-integration'), dirs_exist_ok=True)
shutil.copytree('fonts', os.path.join(libdir, 'fonts'), dirs_exist_ok=True)
allowed_extensions = frozenset('py slang glsl so'.split())
allowed_extensions = frozenset('py slang pipeline glsl so'.split())
def src_ignore(parent: str, entries: Iterable[str]) -> List[str]:
return [x for x in entries if '.' in x and x.rpartition('.')[2] not in allowed_extensions]