20 lines
517 B
Python
20 lines
517 B
Python
# PyInstaller hook for asyauth
|
|
from PyInstaller.utils.hooks import collect_data_files, collect_submodules
|
|
|
|
# Collect all submodules
|
|
hiddenimports = collect_submodules('asyauth')
|
|
|
|
# Add specific imports that might be missed
|
|
hiddenimports += [
|
|
'asyauth.protocols.ntlm',
|
|
'asyauth.protocols.kerberos',
|
|
'asyauth.protocols.spnego',
|
|
'asyauth.protocols.credssp',
|
|
'asyauth.protocols.spnegoex',
|
|
'asyauth.common',
|
|
'asyauth.utils',
|
|
]
|
|
|
|
# Collect data files if any
|
|
datas = collect_data_files('asyauth')
|