PyInstaller: Make sure data files are included
This commit is contained in:
parent
9b95171f37
commit
5550217c02
1 changed files with 3 additions and 3 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue