[gdal-dev] Python Wheels for gdal
robert.coup at koordinates.com
Thu Jan 30 06:33:02 PST 2020
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
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev