def get_packages(package):
    return [dirpath
            for dirpath, dirnames, filenames in os.walk(package)
            if os.path.exists(os.path.join(dirpath, '__init__.py'))]
Blocks waiting on a list of deferreds until they all complete.
dataset/ETHPy150Open dulaccc/igenstrings/setup.py/get_packages--crossover with--dataset/ETHPy150Open google/anvil-build/anvil/task.py/TaskExecutor.wait