[Pythonmac-SIG] Why do I need PantherPythonFix?

Bob Ippolito bob at redivi.com
Tue Feb 22 23:37:35 CET 2005


On Feb 22, 2005, at 17:23, Chris Barker wrote:

> Bob Ippolito wrote:
>
>> It is not yet public knowledge as to whether applications built with
>> the vendor Python 2.3.0 on Mac OS X 10.3 will work on Mac OS X 10.4.
>> Given that Python 2.3.x was in the WWDC sources and setup to build as
>> a framework in the same place, then signs point to yes.  However, if
>> Apple changes their minds and go with 2.4, then the answer will
>> probably be no.
>
> Is there any way to us to lobby Apple to include whatever bits of 
> python
> 2.3 are needed to keep Py2App bundled apps running on new systems, 
> when they upgrade to 2.4?

http://bugreport.apple.com/

>> Yes, you will have to set your PATH if you want this one to be
>> default.
>
> I never do this. Whenever I've run multiple version of python, with any
> given python code, I know what version I want to use, so I put 
> something
> like:
>
> #!/usr/bin/env python2.3.4
>
> at the top of the __main__ file and the setup.py, and I'm done. It's
> more reliable that messing with PATH, and hoping it stays in the right
> order.

I also rarely screw with PATH.  Using /usr/bin/env is saying "let PATH 
decide".  I use explicit paths like:

# MacPython 2.3.5
/usr/local/bin/python2.3
# DarwinPorts Python 2.3.5
/opt/local/bin/python2.3

etc..

-bob



More information about the Pythonmac-SIG mailing list