How to properly create a pyinstaller hook, or maybe hidden import?
Hooks are files that specify additional actions when PyInstaller finds import statements. If you add a hook-data.py file which contains a line hiddenimports = [‘_proxy’, ‘utils’, ‘defs’], PyInstaller will check it to find additional imports when it sees import data. You have to specify the path to the hook directory via –additional-hooks-dir (this is useful … Read more