<div dir="ltr"><br><br>On Thu, Apr 5, 2018 at 11:44 AM, Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>> wrote:<br>><br>> Hi,<br>><br>> This is something most people doing GDAL development, and not wanting to install each time they<br>> build, have probably reinvented by themselves, so now master has a scripts/setdevenv.sh that<br>> you can source to define PATH, LD_LIBRARY_PATH, GDAL_DATA and PYTHONPATH to point to the<br>> non-installed directories.<br><div><br></div><div>very useful, it makes testing local changes really easy, particularly for non-GDAL developers trying to contribute to GDAL.</div><div><br></div><div>Thanks, Even!</div><div><br></div><div>></div>> Referenced in <a href="https://github.com/OSGeo/gdal/blob/master/CONTRIBUTING.md">https://github.com/OSGeo/gdal/blob/master/CONTRIBUTING.md</a><br>><br>> Only tested on Linux<br>><br>> $ . scripts/setdevenv.sh<br>> 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<br>> Setting LD_LIBRARY_PATH=/home/even/gdal/git/gdal/gdal:/home/even/gdal/git/gdal/gdal/.libs:<br>> Setting GDAL_DATA=/home/even/gdal/git/gdal/gdal/data<br>> Setting PYTHONPATH=/home/even/gdal/git/gdal/gdal/swig/python/build/lib.linux-x86_64-2.7:<br>><br>><br>> Even<br>><br>> --<br>> Spatialys - Geospatial professional services<br>> <a href="http://www.spatialys.com">http://www.spatialys.com</a><br>> _______________________________________________<br>> gdal-dev mailing list<br>> <a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>> <a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br><br></div>