New patch to upgrade python to 2.5
Chuck Swiger
cswiger at mac.com
Mon Mar 5 22:05:43 UTC 2007
On Mar 5, 2007, at 12:25 PM, Alexander Botero-Lowry wrote:
>> * ${PREFIX}/bin/python may not be available even though a consumer
>> port used USE_PYTHON. It'll be need to use the filename including
>> python version (eg. python2.5) in scripts or shebang lines.
>> ${PYTHON_CMD} is provided by bsd.python.mk for this purpose.
>
> I think in all honesty we need to have something linked to
> $LOCALBASE/bin/python always.
I strongly second this position.
> There are too many situations where people
> might have non ports managed stuff installed that has a shebang for a
> simple python binary, and even cases where python is invoked more
> directly
> that cause issues. I see this is also causing a problem for
> committers and
> submitters that have to patch or sed _every_ shebang line in existence
> instead of just getting a simple solution to the problem.
Python has handled potentially incompatible API changes and
deprecation extremely well, and there are few times indeed when the
majority of Python code needs to pay any attention to the specific
version of the Python interpreter which is installed.
--
-Chuck
More information about the freebsd-python
mailing list