def get_packages():
    # setuptools can't do the job :(
    packages = []
    for root, dirnames, filenames in os.walk('couleur'):
        if '__init__.py' in filenames:
            packages.append(".".join(os.path.split(root)).strip("."))

    return packages
dataset/ETHPy150Open gabrielfalcao/couleur/setup.py/get_packages/original