[gdal-dev] Python Wheels for gdal

Robert Coup robert.coup at koordinates.com
Thu Jan 30 06:33:02 PST 2020


Hi Christoph,

For what it's worth, I'm doing some very minimal GDAL builds at the moment
with Python bindings. The problem you'll very quickly run into is that GDAL
has an enormous set of dependencies. This is what the default Homebrew gdal
package depends on in macOS: cfitsio, epsilon, expat, freexl, geos, giflib,
hdf5, jasper, jpeg, json-c, libdap, libgeotiff, libpng, libpq,
libspatialite, libtiff, libxml2, netcdf, numpy, pcre, poppler, proj,
python, sqlite, unixodbc, webp, xerces-c, xz, zstd. Debian's list is even
longer.

And each of those mostly have yet more dependencies... and if things are
missed then issues arrive where one dependency is talking to one version of
a library, and another dependency is talking to another. With usual
difficult to debug hilarity ensuing.

Sean has done a pile of this work already with respect to the GDAL wheels
for RasterIO & Fiona, and Christoph Gohlke has done the same for the
windows GDAL wheels Even linked to. They're both fairly minimal sets of
drivers though. I'd definitely suggest building on their work if you want
to make a start.

Good luck!

Rob :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200130/04e58b9d/attachment.html>


More information about the gdal-dev mailing list