From 4a597ff48f5fd22ab1c6317e8ab1e65a887da284 Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Sun, 29 May 2022 00:24:43 +0200 Subject: [PATCH] PyInstaller: Make sure dosagelib.data is importable --- dosagelib/__pyinstaller/hook-dosagelib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dosagelib/__pyinstaller/hook-dosagelib.py b/dosagelib/__pyinstaller/hook-dosagelib.py index 1b90bfbd7..45d7f0178 100644 --- a/dosagelib/__pyinstaller/hook-dosagelib.py +++ b/dosagelib/__pyinstaller/hook-dosagelib.py @@ -2,5 +2,5 @@ # Copyright (C) 2016-2022 Tobias Gruetzmacher from PyInstaller.utils.hooks import collect_data_files, collect_submodules, copy_metadata -hiddenimports = collect_submodules('dosagelib.plugins') +hiddenimports = ['dosagelib.data'] + collect_submodules('dosagelib.plugins') datas = copy_metadata('dosage') + collect_data_files('dosagelib')