mirror of
https://github.com/borgbackup/borg.git
synced 2026-05-28 04:03:21 -04:00
pyinstaller: cockpit: add tcss file, add unicode data
This commit is contained in:
parent
92ebb97ecb
commit
94d56e1c89
1 changed files with 2 additions and 1 deletions
|
|
@ -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=[],
|
||||
|
|
|
|||
Loading…
Reference in a new issue