Codebase list python-lsassy / 495f715b-e03a-4289-b39f-784573c0fc16/upstream/3.1.6 hooks / hook-lsassy.py
495f715b-e03a-4289-b39f-784573c0fc16/upstream/3.1.6

Tree @495f715b-e03a-4289-b39f-784573c0fc16/upstream/3.1.6 (Download .tar.gz)

hook-lsassy.py @495f715b-e03a-4289-b39f-784573c0fc16/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')