From 4a33dbde465a35ef215fb095518eb0edd8d9f2de Mon Sep 17 00:00:00 2001 From: Timmy Welch Date: Tue, 20 Feb 2024 20:44:48 -0800 Subject: [PATCH] Fix PyInstaller packaging --- comictaggerlib/__pyinstaller/hook-comictaggerlib.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/comictaggerlib/__pyinstaller/hook-comictaggerlib.py b/comictaggerlib/__pyinstaller/hook-comictaggerlib.py index 8b7b6c0..8526298 100644 --- a/comictaggerlib/__pyinstaller/hook-comictaggerlib.py +++ b/comictaggerlib/__pyinstaller/hook-comictaggerlib.py @@ -1,7 +1,8 @@ from __future__ import annotations -from PyInstaller.utils.hooks import collect_data_files, collect_entry_point +from PyInstaller.utils.hooks import collect_data_files, collect_entry_point, collect_submodules datas, hiddenimports = collect_entry_point("comictagger.talker") +hiddenimports += collect_submodules("comictaggerlib") datas += collect_data_files("comictaggerlib.ui") datas += collect_data_files("comictaggerlib.graphics")