@task()
def clean():

    files = ["build", ".coverage", "coverage", "dist", "docs/build"]

    local("rm -rf {0:s}".format(" ".join(files)))

    local("find . -type f -name '*~' -delete")
    local("find . -type f -name '*.pyo' -delete")
    local("find . -type f -name '*.pyc' -delete")
    local("find . -type d -name '__pycache__' -delete")
    local("find . -type d -name '*egg-info' -exec rm -rf {} +")
Tests if the package really gets deleted, and that it gets
dataset/ETHPy150Open circuits/circuits/fabfile/__init__.py/clean--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/preferences.py/TestPreferencesDialog.test_remove_package