import_all_from

sconstool.util.import_all_from(target, modules, module_package=None, **kw)[source]

Imports symbols from multiple modules.

For each module in modules, this is an equivalent of

from module import *
__all__ += module.__all__
Parameters:
  • target (module|str) – target module or package, to which the modules have to be imported,
  • modules (list|str) – modules to be imported,
  • module_package – package of the module being imported, if None (default), the target is used as module_package.