Browse Source

pyinstaller: add borghash to hidden imports

Thomas Waldmann 7 months ago
parent
commit
bd5060887c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      scripts/borg.exe.spec

+ 2 - 2
scripts/borg.exe.spec

@@ -10,9 +10,9 @@ here = os.path.dirname(os.path.abspath(SPEC))
 basepath = os.path.abspath(os.path.join(here, '..'))
 
 if is_win32:
-    hiddenimports = []
+    hiddenimports = ['borghash']
 else:
-    hiddenimports = ['borg.platform.posix', 'pkg_resources.py2_warn', ]
+    hiddenimports = ['borg.platform.posix', 'pkg_resources.py2_warn', 'borghash']
 
 block_cipher = None