youngpm / gdalmanylinux

manylinux wheels for gdal python bindings with vendorized dependencies
MIT License
28 stars 17 forks source link

Inclusion of apps #1

Open carlfischerjba opened 5 years ago

carlfischerjba commented 5 years ago

Very useful tool. Any idea how to include apps such as gdalinfo in the wheel so they become available within the virtualenv where the wheel is subsequently installed?

youngpm commented 5 years ago

There's probably a way but I'm not sure how; gdalinfo and a few others are cpp binary executables, so one would have to fiddle with their rpath's or some such to get them to point at the venderized gdal libs inside site-packages. The tool we use (manylinux) doesn't fix up executables as far as I am aware.

BTW many of the utilities are available as python functions now, e.g. gdal.Info(...).

FWIW rasterio's cli rio is already venderized and provides most of the functionality that the gdal cli tools do.