Initial code commit
This commit is contained in:
19
hooks/hook-unicrypto.py
Normal file
19
hooks/hook-unicrypto.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# 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')
|
||||
Reference in New Issue
Block a user