Initial code commit
This commit is contained in:
24
hooks/hook-aiosmb.py
Normal file
24
hooks/hook-aiosmb.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# PyInstaller hook for aiosmb
|
||||
from PyInstaller.utils.hooks import collect_data_files, collect_submodules
|
||||
|
||||
# Collect all submodules
|
||||
hiddenimports = collect_submodules('aiosmb')
|
||||
|
||||
# Add specific imports that might be missed
|
||||
hiddenimports += [
|
||||
'aiosmb.commons.connection.factory',
|
||||
'aiosmb.commons.interfaces.machine',
|
||||
'aiosmb.commons.interfaces.share',
|
||||
'aiosmb.commons.interfaces.file',
|
||||
'aiosmb.commons.interfaces.directory',
|
||||
'aiosmb.connection',
|
||||
'aiosmb.protocol.smb2',
|
||||
'aiosmb.protocol.smb2.messages',
|
||||
'aiosmb.protocol.smb2.commands',
|
||||
'aiosmb.protocol.smb2.structures',
|
||||
'aiosmb.dcerpc',
|
||||
'aiosmb.external',
|
||||
]
|
||||
|
||||
# Collect data files if any
|
||||
datas = collect_data_files('aiosmb')
|
||||
19
hooks/hook-asyauth.py
Normal file
19
hooks/hook-asyauth.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# 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')
|
||||
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