[Python-3000] Install python-3000 as python3
Guido van Rossum
guido at python.org
Fri Nov 14 18:20:57 CET 2008
On Fri, Nov 14, 2008 at 7:37 AM, Smith-Rowland, Edward M
<ESmith-rowland at alionscience.com> wrote:
> Thank you for your reply.
> I didn't mean to instigate or revive a problem ;-)
> I guess when python-3.* is python we'll have python-2.* installed.
>
> I guess I forsee a significant amount of time when we'll need both versions overlapping.
> I just would like a way to have a fixed target for python-2.* as versions get bumped there.
> That's more the issue I guess.
You can solve that locally however you want to. But in practice most
code is tied to a particular minor version (e.g. 2.5, 2.6), not just
to a major version, so your #! line should probably be #!/usr/bin/env
python3.0 or whatever version you know works.
> Ed
>
> -----Original Message-----
> From: gvanrossum at gmail.com on behalf of Guido van Rossum
> Sent: Fri 11/14/2008 10:24 AM
> To: Smith-Rowland, Edward M
> Cc: python-3000 at python.org
> Subject: Re: [Python-3000] Install python-3000 as python3
>
> No, no, no! *Eventually* Python 3.0 will just be "python". Until
> then, it needs to be "python3.0".
>
> Long agon, Red Hat installed Python 2 as "python2" instead of "python"
> and it led to endless problems.
>
> On Wed, Nov 12, 2008 at 12:46 PM, Smith-Rowland, Edward M
> <ESmith-rowland at alionscience.com> wrote:
>>
>> When I try to install python-3.0rcN I get the following warning:
>>
>> running install_egg_info
>> Writing /usr/local/lib/python3.0/lib-dynload/Python-3.0rc2-py3.0.egg-info
>> * Note: not installed as 'python'.
>> * Use 'make fullinstall' to install as 'python'.
>> * However, 'make fullinstall' is discouraged,
>> * as it will clobber your Python 2.x installation.
>>
>> Not clobbering my python-2.* install is all well and good. python-3.0 is installed as expected.
>>
>> It would be nice to have a generic way to call python-3 though.
>>
>> Suggestion: Use python3 as the generic install target for python-3.*
>> Then all subsequent python-3.* installs would get sent there (in addition to python-3.m.n)
>>
>> If no python2 exists you could either go ahead and use that for python3.
>> Or you could leave the python just for 2.
>>
>> Ed
>> _______________________________________________
>> Python-3000 mailing list
>> Python-3000 at python.org
>> http://mail.python.org/mailman/listinfo/python-3000
>> Unsubscribe: http://mail.python.org/mailman/options/python-3000/guido%40python.org
>>
>
>
>
> --
> --Guido van Rossum (home page: http://www.python.org/~guido/)
>
>
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-3000
mailing list