mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
More robust copying of terminfo
Dont use symlinks in the tarball, instead create them in the bootstrap scripts, only if needed.
This commit is contained in:
2
setup.py
2
setup.py
@@ -1258,7 +1258,7 @@ def package(args: Options, bundle_type: str) -> None:
|
||||
for x in (libdir, os.path.join(ddir, 'share')):
|
||||
odir = os.path.join(x, 'terminfo')
|
||||
safe_makedirs(odir)
|
||||
build_terminfo['compile_terminfo'](odir, add_other_versions=True)
|
||||
build_terminfo['compile_terminfo'](odir)
|
||||
shutil.copy2('__main__.py', libdir)
|
||||
shutil.copy2('logo/kitty-128.png', os.path.join(libdir, 'logo'))
|
||||
shutil.copy2('logo/kitty.png', os.path.join(libdir, 'logo'))
|
||||
|
||||
Reference in New Issue
Block a user