Files
smbprowl/hooks/hook-unicrypto.py
2026-01-28 23:57:28 +00:00

20 lines
535 B
Python

# PyInstaller hook for unicrypto
from PyInstaller.utils.hooks import collect_data_files, collect_submodules
# Collect all submodules
hiddenimports = collect_submodules('unicrypto')
# Add specific imports that might be missed
hiddenimports += [
'unicrypto.backends.pycryptodomex',
'unicrypto.backends.pycryptodome',
'unicrypto.backends.oscrypto',
'unicrypto.symmetric',
'unicrypto.asymmetric',
'unicrypto.hashlib',
'unicrypto.random',
]
# Collect data files if any
datas = collect_data_files('unicrypto')