Bug Fix: Pyinstaller prettytable error (#419)

* added specific problematic hooks folder for when compiling with pyinstaller. added a fix for prettytable import

* fixed typo

* lint fix
This commit is contained in:
danielsagi
2020-12-04 13:43:37 +02:00
committed by GitHub
parent 22d6676e08
commit a3ad928f29
2 changed files with 5 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
from PyInstaller.utils.hooks import collect_all
datas, binaries, hiddenimports = collect_all("prettytable")

View File

@@ -41,6 +41,8 @@ class PyInstallerCommand(Command):
cfg.read("setup.cfg")
command = [
"pyinstaller",
"--additional-hooks-dir",
"pyinstaller_hooks",
"--clean",
"--onefile",
"--name",