def wipe_package_cache(env):
    package_root = env.project.get_package_cache_path()
    try:
        shutil.rmtree(package_root)
    except (OSError, IOError):
        pass
Test iteration over periods (days)
dataset/ETHPy150Open lektor/lektor/lektor/packages.py/wipe_package_cache--crossover with--dataset/ETHPy150Open sahana/eden/modules/unit_tests/s3/s3timeplot.py/EventFrameTests.testPeriodsDays