dosage/dosagelib/__pyinstaller/hook-dosagelib.py
Tobias Gruetzmacher d93fed567c Distribute PyInstaller hook
This uses a feature introduced in PyInstaller 4.0 to register hooks as
entry points and automatically discover them whenever a module is used.
2020-10-01 15:51:09 +02:00

6 lines
236 B
Python

# SPDX-License-Identifier: MIT
# Copyright (C) 2016-2020 Tobias Gruetzmacher
from PyInstaller.utils.hooks import collect_submodules, copy_metadata
hiddenimports = collect_submodules('dosagelib.plugins')
datas = copy_metadata('dosage')