zmc
2023-12-22 9fdbf60165db0400c2e8e6be2dc6e88138ac719a
1
2
3
4
5
6
7
8
U
W±d-ã@sdZdddddgZdS)a™
django.core.mail uses part of the email package.
The problem is: when using runserver with autoreload mode, the thread that checks for changed files triggers further
imports within the email package, because of the LazyImporter in email (used in 2.5 for backward compatibility).
We then need to name those modules as hidden imports, otherwise at runtime the autoreload thread will complain
with a traceback.
zemail.mime.messagezemail.mime.imagezemail.mime.textzemail.mime.multipartzemail.mime.audioN)Ú__doc__Z hiddenimports©rrú^d:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\PyInstaller/hooks/hook-django.core.mail.pyÚ<module> s     û