mirror of
https://github.com/borgbackup/borg.git
synced 2026-04-22 06:37:33 -04:00
pyinstaller spec: avoid pkg_resources warning
This commit is contained in:
parent
eefbee7667
commit
0324395baf
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', 'pkg_resources.py2_warn', 'borghash']
|
||||
hiddenimports = ['borg.platform.posix', 'borghash']
|
||||
|
||||
block_cipher = None
|
||||
|
||||
|
|
@ -27,6 +27,7 @@ a = Analysis([os.path.join(basepath, 'src', 'borg', '__main__.py'), ],
|
|||
runtime_hooks=[],
|
||||
excludes=[
|
||||
'_ssl', 'ssl',
|
||||
'pkg_resources', # avoid pkg_resources related warnings
|
||||
],
|
||||
win_no_prefer_redirects=False,
|
||||
win_private_assemblies=False,
|
||||
|
|
|
|||
Loading…
Reference in a new issue