From 5550217c028c422e7dc2d54c3b8b61ea43cfc26f Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Sat, 28 May 2022 20:52:30 +0200 Subject: [PATCH] PyInstaller: Make sure data files are included --- dosagelib/__pyinstaller/hook-dosagelib.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dosagelib/__pyinstaller/hook-dosagelib.py b/dosagelib/__pyinstaller/hook-dosagelib.py index 1784585af..1b90bfbd7 100644 --- a/dosagelib/__pyinstaller/hook-dosagelib.py +++ b/dosagelib/__pyinstaller/hook-dosagelib.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: MIT -# Copyright (C) 2016-2020 Tobias Gruetzmacher -from PyInstaller.utils.hooks import collect_submodules, copy_metadata +# Copyright (C) 2016-2022 Tobias Gruetzmacher +from PyInstaller.utils.hooks import collect_data_files, collect_submodules, copy_metadata hiddenimports = collect_submodules('dosagelib.plugins') -datas = copy_metadata('dosage') +datas = copy_metadata('dosage') + collect_data_files('dosagelib')