Hi,

This is something most people doing GDAL development, and not wanting to 
install each time they
build, have probably reinvented by themselves, so now master has a 
scripts/setdevenv.sh that
you can source to define PATH, LD_LIBRARY_PATH, GDAL_DATA and PYTHONPATH to 
point to the
non-installed directories.

Referenced in https://github.com/OSGeo/gdal/blob/master/CONTRIBUTING.md

Only tested on Linux

$ . scripts/setdevenv.sh 
Setting 
PATH=/home/even/gdal/git/gdal/gdal/apps:/home/even/gdal/git/gdal/gdal/apps/.libs:/home/even/bin:/home/even/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
Setting 
LD_LIBRARY_PATH=/home/even/gdal/git/gdal/gdal:/home/even/gdal/git/gdal/gdal/.libs:
Setting GDAL_DATA=/home/even/gdal/git/gdal/gdal/data
Setting 
PYTHONPATH=/home/even/gdal/git/gdal/gdal/swig/python/build/lib.linux-x86_64-2.7:


Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to