Add terminfo src file when packaging

ssh kitten needs to send this file.
This commit is contained in:
pagedown 2022-03-11 08:35:10 +08:00
parent cac2c153c2
commit 0a9f8d4f6a
No known key found for this signature in database
GPG Key ID: E921CF18AC8FF6EB

View File

@ -1259,6 +1259,7 @@ def package(args: Options, bundle_type: str) -> None:
odir = os.path.join(x, 'terminfo')
safe_makedirs(odir)
build_terminfo['compile_terminfo'](odir)
shutil.copy2('terminfo/kitty.terminfo', os.path.join(libdir, 'terminfo'))
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'))