def copy_data_tree(datadir, destdir):
    try:
        shutil.rmtree(destdir)
    except __HOLE__:
        pass
    shutil.copytree(datadir, destdir)


# python -W all setup.py ...
dataset/ETHPy150Open mapbox/rasterio/setup.py/copy_data_tree