From b8fd7c9786103f1c4439f630acb9ec9a9e04ea19 Mon Sep 17 00:00:00 2001 From: Shay Nehmad Date: Thu, 16 Apr 2020 15:13:17 +0300 Subject: [PATCH] Added hidden import and upx exclude --- monkey/monkey_island/monkey_island.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monkey/monkey_island/monkey_island.spec b/monkey/monkey_island/monkey_island.spec index ef6d9c2d3..e34a25a27 100644 --- a/monkey/monkey_island/monkey_island.spec +++ b/monkey/monkey_island/monkey_island.spec @@ -37,7 +37,7 @@ def main(): debug=False, strip=get_exe_strip(), upx=True, - upx_exclude=['vcruntime140.dll'], + upx_exclude=['vcruntime140.dll', 'ucrtbase.dll'], console=True, icon=get_exe_icon()) @@ -74,7 +74,7 @@ def get_linux_only_binaries(): def get_hidden_imports(): - return ['_cffi_backend', 'queue'] if is_windows() else ['_cffi_backend'] + return ['_cffi_backend', 'queue', 'pkg_resources.py2_warn'] if is_windows() else ['_cffi_backend'] def get_msvcr():