On 13 Sep 2011, at 10:32pm, Brett Viren wrote:
> Chris Jones <jonesc_at_hep.phy.cam.ac.uk> writes:
>
>> They already are, just not as 'python'. They are available as >> 'python2.6' and 'python2.7'. MacPorts supports multiple python >> versions so cannot just call them 'python'.
Unusual, really ? I don't think MacPorts is being that unusual here. I think there are other UNIX systems that do something similar.
users can set their personally preferences so 'python' will run whatever they want, so scripts like that will pick up their preferred versions. My point is the the build system is different and cannot rely on this to pick the correct version. It needs to be more predicable.
>
> Anyways, in your build environment you can define "python" to be an
> alias or as a bash function and have it point to the desired
> "python2.X".
I don't think so. I'll check with the MacPorts experts though.
Chris
>
> -Brett.
This archive was generated by hypermail 2.2.0 : Wed Sep 14 2011 - 17:50:01 CEST