[Pythonmac-SIG] Download page on www.python.org now updated

Bob Ippolito bob at redivi.com
Tue Feb 28 19:33:45 CET 2006


On Feb 28, 2006, at 12:13 PM, Russell E. Owen wrote:

> In article <6B3B4ACB-7FA1-4D24-8689-20ACEA656F96 at mac.com>,
>  Ronald Oussoren <ronaldoussoren at mac.com> wrote:
>
>> On 28-feb-2006, at 0:04, Keith Ray wrote:
> ...
>>> Do you need to set up any environment variables to specify that the
>>> newer python is to be used instead of the old one?  (if so, how  
>>> do you
>>> set that up?)
>>
>> Yes, you will have to make sure that /Library/Frameworks/
>> Python.framework/Versions/2.4/bin
>> is at the start of your PATH.
>>
>> If you use bash[1]  is you should create a .bash_profile file in your
>> home directory that
>> contains the line PATH="/Library/Frameworks/Python.framework/ 
>> Versions/
>> 2.4/bin:$PATH".
>
> It seems unfortunate to put that long complicated mess into the path,
> and then have to redo it when python 2.5 comes out.

The long way is the right way.  Having to change your path when a new  
version of Python is installed is not a bad thing.

> Bob's unofficial 2.4.1 installer puts links in /usr/local/bin. Will  
> the
> universal build do that as well? Then all one needs to do is make sure
> /usr/local/bin in on the path.

However, anything you install with distutils is going to put its  
scripts in the framework's bin dir, so you have to add it to your  
path anyway, or create a .pydistutils.cfg that redirects the  
install_scripts location.  bdist_mpkg works around this by assuming  
that you want /usr/local/bin, but that's a hack.

-bob



More information about the Pythonmac-SIG mailing list