mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-05 23:51:29 +02:00
Setup location for compiled shaders
This commit is contained in:
3
setup.py
3
setup.py
@@ -1877,6 +1877,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)
|
||||
shutil.copytree('shaders', os.path.join(libdir, 'shaders'), dirs_exist_ok=True)
|
||||
allowed_extensions = frozenset('py glsl so'.split())
|
||||
|
||||
def src_ignore(parent: str, entries: Iterable[str]) -> List[str]:
|
||||
@@ -1957,7 +1958,7 @@ def clean(for_cross_compile: bool = False) -> None:
|
||||
'linux-package', 'kitty.app', 'asan-launcher',
|
||||
'kitty-profile') # no fonts as that is not generated by build
|
||||
if not for_cross_compile:
|
||||
safe_remove('docs/generated')
|
||||
safe_remove('docs/generated', 'shaders')
|
||||
clean_launcher_dir('kitty/launcher')
|
||||
|
||||
def excluded(root: str, d: str) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user