Re: [gdal-dev] Installation prefix for Python bindings on MacOSX ?

2015-09-20 Thread Kurt Schwehr
I've also not had a chance to try to figure out how to get gdal2 into fink on mac osx. I've been focusing my time on Linux lately. Fink only works in a user configurable tree (/sw by default), so fink often hits this type of issue with packages. I'll try to get that soonish. I'll be making a 2n

[gdal-dev] Possible code style changes to GDAL C++

2015-09-20 Thread Kurt Schwehr
Hi all, TL;DR: This is a list of possible topics for change to RFC 8 . I think the default action should be to not to add / change anything. If a point is worth discussing, we should probably create a bug for just that point and discuss it there.

Re: [gdal-dev] Installation prefix for Python bindings on MacOSX ?

2015-09-20 Thread William Kyngesburye
That looks like it should work. I'm only just getting around to looking at GDAL 2, so I don't know when I'll get a chance to test that. On Sep 20, 2015, at 11:58 AM, Antonio Valentino wrote: > Hi Even, hi William, > I have just opened a new PR on github (https://github.com/OSGeo/gdal/pull/68)

Re: [gdal-dev] Installation prefix for Python bindings on MacOSX ?

2015-09-20 Thread Antonio Valentino
Hi Even, hi William, I have just opened a new PR on github (https://github.com/OSGeo/gdal/pull/68). It should restore the old behavior if the standard system interpreted is used on OSX. It should also work with homebrew etc. that uses the classic unix schema for python packages installation. Ple

Re: [gdal-dev] Installation prefix for Python bindings on MacOSX ?

2015-09-20 Thread William Kyngesburye
I tried the bit there that gets the python path (get_python_lb), and it works to get the OS X user path if there is no arg, ie get_python_lib(). For OS X is that the python user path is independent of the installation prefix. For the logic, one basic method in a makefile I can think of for detec

Re: [gdal-dev] Installation prefix for Python bindings on MacOSX ?

2015-09-20 Thread Even Rouault
Le dimanche 20 septembre 2015 17:24:18, William Kyngesburye a écrit : > /Library/Python/[version]/site-packages is the standard user path for OS X. > /usr/lib is not in the python path. Even if you add /usr/lib to the > Travis setup, the installation will still be broken for general use. ok, tha

Re: [gdal-dev] Installation prefix for Python bindings on MacOSX ?

2015-09-20 Thread William Kyngesburye
/Library/Python/[version]/site-packages is the standard user path for OS X. /usr/lib is not in the python path. Even if you add /usr/lib to the Travis setup, the installation will still be broken for general use. On Sep 20, 2015, at 10:09 AM, Even Rouault wrote: > Hi, > > Antonio has contri

[gdal-dev] Installation prefix for Python bindings on MacOSX ?

2015-09-20 Thread Even Rouault
Hi, Antonio has contributed a fix in https://trac.osgeo.org/gdal/ticket/4563 to make the Python bindings honour the installation prefix. A side effect of this is that now on the MacOsX Travis instance, they are installed in /usr/lib/python2.7/site-packages whereas previously they were installe