On Tue, 13 Sep 2011 22:53:56 +0100, Chris Jones <jonesc_at_hep.phy.cam.ac.uk> wrote:
Non-text part: multipart/signed
>
> 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'.
> >
> > Hmm, that seems rather unusual. How do scripts starting with
> > "#!/usr/bin/env python" ever get run on such a system?
>
> 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".
this reminds me of all the patching I had to do for my ArchLinux system (where the default is python->python3.x) http://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/root#n35
(yeah... I should probably fire a bug report for this...)
-s
-- ######################################### # Dr. Sebastien Binet # Laboratoire de l'Accelerateur Lineaire # Universite Paris-Sud XI # Batiment 200 # 91898 Orsay #########################################Received on Wed Sep 14 2011 - 17:22:49 CEST
- application/pgp-signature attachment: stored
This archive was generated by hypermail 2.2.0 : Wed Sep 14 2011 - 23:50:01 CEST