pyinstaller: cockpit: add tcss file, add unicode data

This commit is contained in:
Thomas Waldmann 2026-01-28 21:58:50 +01:00
parent 92ebb97ecb
commit 94d56e1c89
No known key found for this signature in database
GPG key ID: 9F88FB52FAF7B393

View file

@ -12,7 +12,7 @@ basepath = os.path.abspath(os.path.join(here, '..'))
if is_win32:
hiddenimports = ['borghash']
else:
hiddenimports = ['borg.platform.posix', 'borghash']
hiddenimports = ['borg.platform.posix', 'borghash', 'rich._unicode_data.unicode17-0-0']
block_cipher = None
@ -21,6 +21,7 @@ a = Analysis([os.path.join(basepath, 'src', 'borg', '__main__.py'), ],
binaries=[],
datas=[
(os.path.join(basepath, 'src', 'borg', 'paperkey.html'), 'borg'),
(os.path.join(basepath, 'src', 'borg', 'cockpit', 'cockpit.tcss'), os.path.join('borg', 'cockpit')),
],
hiddenimports=hiddenimports,
hookspath=[],