diff --git a/pyinstaller_hooks/hook-prettytable.py b/pyinstaller_hooks/hook-prettytable.py new file mode 100644 index 0000000..8873adb --- /dev/null +++ b/pyinstaller_hooks/hook-prettytable.py @@ -0,0 +1,3 @@ +from PyInstaller.utils.hooks import collect_all + +datas, binaries, hiddenimports = collect_all("prettytable") diff --git a/setup.py b/setup.py index a56a8aa..b59a753 100644 --- a/setup.py +++ b/setup.py @@ -41,6 +41,8 @@ class PyInstallerCommand(Command): cfg.read("setup.cfg") command = [ "pyinstaller", + "--additional-hooks-dir", + "pyinstaller_hooks", "--clean", "--onefile", "--name",