From 1a874762b18ad96f3964a0f0caaee21888648dd5 Mon Sep 17 00:00:00 2001 From: Daniel Goldberg Date: Wed, 30 Oct 2019 14:41:33 +0200 Subject: [PATCH] Add pyinstaller hook since we are now not importing anything. This is currently messy as there is no plugin directory for fingerprinters --- .../pyinstaller_hooks/hook-infection_monkey.network.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 monkey/infection_monkey/pyinstaller_hooks/hook-infection_monkey.network.py diff --git a/monkey/infection_monkey/pyinstaller_hooks/hook-infection_monkey.network.py b/monkey/infection_monkey/pyinstaller_hooks/hook-infection_monkey.network.py new file mode 100644 index 000000000..dbc345780 --- /dev/null +++ b/monkey/infection_monkey/pyinstaller_hooks/hook-infection_monkey.network.py @@ -0,0 +1,4 @@ +from PyInstaller.utils.hooks import collect_submodules, collect_data_files + +hiddenimports = collect_submodules('infection_monkey.network') +datas = (collect_data_files('infection_monkey.network', include_py_files=True))