1 2 3 4 5
from PyInstaller.utils.hooks import collect_submodules hiddenimports = ( collect_submodules('jfr_playoff.data.tournament') + collect_submodules('jfr_playoff.data.match') )