From cf9db53ea9a30d5918923559c45118d99ce16a1a Mon Sep 17 00:00:00 2001 From: Ricky O'Steen <39831871+rosteen@users.noreply.github.com> Date: Fri, 3 May 2024 13:03:10 -0400 Subject: [PATCH] Try adding scipy hook (#2847) --- standalone/hooks/hook-scipy.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 standalone/hooks/hook-scipy.py diff --git a/standalone/hooks/hook-scipy.py b/standalone/hooks/hook-scipy.py new file mode 100644 index 0000000000..32288341ca --- /dev/null +++ b/standalone/hooks/hook-scipy.py @@ -0,0 +1,5 @@ +from PyInstaller.utils.hooks import collect_data_files, copy_metadata, collect_submodules + +hiddenimports = collect_submodules("scipy") +datas = collect_data_files('scipy') +datas += copy_metadata('scipy')