def wipe_package_cache(env):
    """Wipes the entire package cache."""
    package_root = env.project.get_package_cache_path()
    try:
        shutil.rmtree(package_root)
    except (__HOLE__, IOError):
        pass
dataset/ETHPy150Open lektor/lektor/lektor/packages.py/wipe_package_cache