PyInstaller: Make sure dosagelib.data is importable

This commit is contained in:
Tobias Gruetzmacher 2022-05-29 00:24:43 +02:00
parent 839deb03e8
commit 4a597ff48f

View file

@ -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')