Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2012 10:03:32 +0100
From:      Chris Rees <utisoft@gmail.com>
To:        Dmitry Sivachenko <demon@freebsd.org>
Cc:        python@freebsd.org
Subject:   Re: bin/python3 symlink for python3X ports
Message-ID:  <CADLo838ZysqxVHPuj6_M223ohanPWRoqc2mwePNeBYbGa2OfRQ@mail.gmail.com>
In-Reply-To: <5062AAEA.4000401@FreeBSD.org>
References:  <5062AAEA.4000401@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 26 Sep 2012 08:13, "Dmitry Sivachenko" <demon@freebsd.org> wrote:
>
> Hello!
>
> It is common to have both python-2 and python-3 packages installed.
> To help transition it is convenient to have bin/python to point to
python-2 binary.
>
> Now for every X in python3X we have a bin/python3.X binary.
>
> So for every new python3.X release one should change shebang line in
scripts.
>
> I propose to tweak python3X ports so they create bin/python3 symlink
pointing to the installed python3.X binary so that people can always use
'python3' name.
>
> What do you think?

I think it's a great idea, at least minimising weird breakage when python
is updated.

Have you a patch?  Also, what do other OSes do?

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo838ZysqxVHPuj6_M223ohanPWRoqc2mwePNeBYbGa2OfRQ>