Mac Python users, if you’ve used pip to install Numpy or SciPy from the Python Package Index recently, you may have noticed that it downloads a .whl file and skips all the old familiar compilation steps.
The new Rasterio wheels include GDAL 1.11.1 with a small starter set of formats enabled. No FileGDB, no PostGIS, no HDF, no MrSID. We’ll grow the list of formats to meet user demand.
DO NOT WANT!
Pip will fetch these wheels by default. If you have your own GDAL installation with special format drivers or want to actually benefit from the sharing of shared libraries, you can dodge the wheels by using pip’s --no-use-wheel option.
The command above builds Rasterio from a source distribution using the specified gdal-config program to find the proper compile and link parameters to use your custom GDAL.
Thanks to tools and documentation by the MacPython and SciPy communities, the Rasterio wheels should work on any Python 2.7 or 3.4, whether from Apple, python.org, MacPorts, or Homebrew. I believe this makes it some of the most accessible Python FOSS4G software for OS X yet. I’ve done the same for Fiona and Shapely and hope you’ll also try them soon.