On May 18, 2012, at 20:44, Craig Treleaven wrote:
> It would seem to me that MacPorts ought to 'select' the first version of
> python when it is installed, no?
No. The "port select" mechanism is for a user's convenience only. A port may
not rely on the user having selected anything in particular, or anything at
all. A port should build itself using exactly the programs it wants (i.e.
${prefix}/bin/python2.7) and not rely on e.g. "python" being anything in
particular or even existing.
> In my port, is there a way to test for 'none' and then set the one I want?
> I wouldn't change the version out from under the user if they've actually
> selected one.
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev