Codebase list python-lsassy / 5fb4bd4c-a43d-4b44-9a59-d5d55511316e/upstream/3.1.6 hooks / hook-lsassy.py
5fb4bd4c-a43d-4b44-9a59-d5d55511316e/upstream/3.1.6

Tree @5fb4bd4c-a43d-4b44-9a59-d5d55511316e/upstream/3.1.6 (Download .tar.gz)

hook-lsassy.py @5fb4bd4c-a43d-4b44-9a59-d5d55511316e/upstream/3.1.6raw · history · blame

1
2
3
4
5
6
7
8
9
from PyInstaller.utils.hooks import collect_submodules

"""
Note that output "table_output" has been removed. There's a bug regarding pyinstaller and 
rich library which prevents compiling lsassy if this lib is somehow imported.
"""
hiddenimports = (collect_submodules('lsassy.exec') + collect_submodules('lsassy.output') + collect_submodules('lsassy.dumpmethod'))
hiddenimports.remove('lsassy.output.table_output')
hiddenimports.append('unicrypto.backends.pycryptodomex')