[gdal-dev] scripts/setdevenv.sh

Markus Metz markus.metz.giswork at gmail.com
Wed Jun 20 14:57:49 PDT 2018


On Thu, Apr 5, 2018 at 11:44 AM, Even Rouault <even.rouault at spatialys.com>
wrote:
>
> 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.

very useful, it makes testing local changes really easy, particularly for
non-GDAL developers trying to contribute to GDAL.

Thanks, Even!

>
> 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 at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20180620/f1a6da19/attachment.html>


More information about the gdal-dev mailing list