diff --git a/hook/hook-email.py b/hook/hook-email.py new file mode 100644 index 00000000..2427ea56 --- /dev/null +++ b/hook/hook-email.py @@ -0,0 +1,9 @@ +from PyInstaller.utils.hooks import collect_all + +def hook(hook_api): + packages = ['email'] + for package in packages: + datas, binaries, hiddenimports = collect_all(package) + #hook_api.add_datas(datas) + #hook_api.add_binaries(binaries) + hook_api.add_imports(*hiddenimports)