# -*- coding: utf8 -*- # libray - Libre Blu-Ray PS3 ISO Tool # Copyright © 2018 - 2024 Nichlas Severinsen # # This file is part of libray. # # libray is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # libray is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with libray. If not, see . import pkgutil import importlib __all__ = [] for loader, module_name, is_pkg in pkgutil.walk_packages(__path__): # Skip the entry-point script (libray/libray.py) which would pollute # the package namespace with a 'libray' submodule that shadows the # package itself when imported via 'importlib.import_module'. if module_name == 'libray': continue __all__.append(module_name) _module = importlib.import_module(f'.{module_name}', __name__) globals()[module_name] = _module