policy about python_select

Ryan Schmidt ryandesign at macports.org
Mon Mar 7 15:44:33 PST 2011

On Mar 7, 2011, at 14:55, Sébastien Barthélémy wrote:

> 3) if py26-sip is installed, but python_select is
>   set up to use mac os X own python version, then
>   the port will use this version at the configure
>   step, the sipconfig module won't be found and the
>   qgis install will fail.
> I'm writing here about this third problem. The qgis port
> maintainer thinks that my python_select setup is wrong and
> that I should change it to use the python from macport.
> I think that there is nothing wrong with my setup and that
> qgis port should be smart enough (or maybe robust enough) to
> look directly for the proper python version from macport.


You are correct. The symlinks that the *_select programs (and port select) create are for your convenience as a user. They are not for ports to use, and ports that break depending on what you have python_select'd (or gcc_select'd or whatever) need to be fixed to use the specific version of python or gcc or whatever that they want. The gcc case is described in the wiki page UsingTheRightCompiler; extrapolate from there for the other *_selects.


More information about the macports-dev mailing list