Hi, Jan Owoc píše v čt 09. 08. 2012 v 07:37 -0600: > On Thu, Aug 9, 2012 at 7:03 AM, Milan Jurik <[email protected]> wrote: > > Sooner or later Python 3.2 will be provided in OI SFE but I am not sure how > > much it can coexists with 2.6 > > Many GNU/Linux distributions have both a Python2 and a Python3 in > their repositories. I happen to have both installed on one of my > systems. > > The way it works is similar to how it's frequently done with gcc, > where there is a series of symbolic links, with the plain "python" > command pointing toward the version that is considered most universal: > > ~$ ls -l /usr/bin/pyth* > lrwxrwxrwx 1 root root 9 Apr 23 10:06 /usr/bin/python -> python2.7 > lrwxrwxrwx 1 root root 9 Apr 23 10:06 /usr/bin/python2 -> python2.7 > -rwxr-xr-x 1 root root 2989480 Jul 31 23:40 /usr/bin/python2.7 > -rwxr-xr-x 1 root root 1652 Jul 31 23:40 /usr/bin/python2.7-config > lrwxrwxrwx 1 root root 16 Apr 17 11:20 /usr/bin/python2-config -> > python2.7-config > lrwxrwxrwx 1 root root 9 Apr 14 23:13 /usr/bin/python3 -> python3.2 > lrwxrwxrwx 1 root root 11 May 3 09:52 /usr/bin/python3.2 -> python3.2mu > -rwxr-xr-x 1 root root 2954048 May 3 09:52 /usr/bin/python3.2mu > lrwxrwxrwx 1 root root 11 Apr 14 23:13 /usr/bin/python3mu -> python3.2mu > lrwxrwxrwx 1 root root 16 Apr 17 11:20 /usr/bin/python-config -> > python2.7-config > > When I have a program that *requires* Python 3.2, it usually knows (or > can be configured) to call "python3". >
well, for long time we had python 2.4 and 2.6 in OpenSolaris. So the infrastructure is in place, only somebody has to prepare bits for oi-build. In SFE there is spec for python3, only clash in deliverables is 2to3 which is delivered by OI 2.6 already. > Cheers, > Jan Best regards, Milan _______________________________________________ OpenIndiana-discuss mailing list [email protected] http://openindiana.org/mailman/listinfo/openindiana-discuss
