Skip to content

Commit

Permalink
Create hook-email.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lunzhiPenxil committed Dec 15, 2023
1 parent 48204c1 commit 5f68a1d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions hook/hook-email.py
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 5f68a1d

Please sign in to comment.