def get_packages(package):
    return [dirpath
            for dirpath, dirnames, filenames in os.walk(package)
            if os.path.exists(os.path.join(dirpath, '__init__.py'))]
Returns:
dataset/ETHPy150Open mkdocs/mkdocs/setup.py/get_packages--crossover with--dataset/ETHPy150Open meraki-analytics/cassiopeia/cassiopeia/type/core/summoner.py/Summoner.champion_mastery_score