def get_sources(config, base_dir, exclude_submodules=False):
    for i, source in enumerate(config.sources_under(abspath(base_dir))):
        if i != 0:
            print
        log.info("# source %s (%s)", source.nicedir,
            ' '.join(source.info))
        source.get(exclude_submodules)


#---- internal support stuff
Get sources under the given `base_dir` in the `config`.
dataset/ETHPy150Open trentm/sources/lib/sources.py/get_sources