[arch-general] An archlinux-python package for managing system default python version?

Pedro José Piquero Plaza gowikel at gmail.com
Fri Jan 23 16:52:03 UTC 2015


On Fri, 2015-01-23 at 22:48 +0800, Chi Hsuan Yen wrote:
> On 23 January 2015 at 22:07, Martti Kühne <mysatyre at gmail.com> wrote:
> 
> > On Fri, Jan 23, 2015 at 2:51 PM, Chi Hsuan Yen <yan12125 at gmail.com> wrote:
> > > Dear Arch enthusiasts,
> > >
> > > The package extra/java-runtime-common provides a convenient script
> > > archlinux-java to handle co-existing JDK/JRE versions. I can use it to
> > > switch between different versions of java implementations to accomplish
> > > numerous tasks from testing the compatibilities of my programs to running
> > > third party applications targeting on different platforms. Now I hope
> > > there's also a simple script for the same thing but for python. On the
> >
> >
> > Python actively encourages you to write the python shebang explicitly
> > either #!/usr/bin/env python2 or #!/usr/bin/env python3 for scripts
> > that are not compatible with one of them. It is no longer practical to
> > make any assumptions about the python version in the (unversioned)
> > python binary, therefore your argument about java doesn't hold. Since
> > the developers themselves support this conclusion [0], there is no
> > reason to still have the symlink and hence we should actually abolish
> > it completely, which I expect to happen in the long run.
> >
> > [0] https://www.python.org/dev/peps/pep-0394/
> >
> 
> Alright. Thanks a lot for the information!

I am not a python user, but in Ruby we can use RVM to change between
different Ruby versions. Is not there any tool that do the same thing on
python?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <https://lists.archlinux.org/pipermail/arch-general/attachments/20150123/0c8027e2/attachment.asc>


More information about the arch-general mailing list