[Pythonmac-SIG] How-To upgrade Apples python installation in Mac OS X 10.3 from python 2.3 to 2.4

Christian Meesters cmeesters at ucdavis.edu
Wed Dec 8 19:53:48 CET 2004


Thanks, interesting. But does anybody know how this will effect pythonw  
(e.g. for use with wxPython)?
Admittingly I'm a bit hesitant to try out.

Cheers
Christian

On Dec 8, 2004, at 1:06 AM, Robert Valsjö wrote:

> How to upgrade Apples python installation in Mac OS X 10.3 from python  
> 2.3 to 2.4
>
> * Download python sourde from  
> http://www.python.org/ftp/python/2.4/Python-2.4.tgz
> Save the source on ~/Desktop
> >cd ~/Desktop
> >tar zxvf Python-2.4.tgz
>
> Download http://www.merzwaren.com/bin/waste/waste-21b1.sit
> Save it in ~/Desktop
> Unpack waste-21b1.sit and copy all contents to a folder called waste.
>
> >cd ~/Desktop
>
> You should now have one folder called Python-2.4 and one folder called  
> waste on the desktop.
>
> Now you must patch your Apple python installation:
>
> >cd  
> /System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
> python2.3/config/
> >emacs Makefile
>
> Change in Makefile:
>
> LDSHARED=      $(CC) $(LDFLAGS) -bundle -framework $(PYTHONFRAMEWORK)
> BLDSHARED=     $(CC) $(LDFLAGS) -bundle -framework $(PYTHONFRAMEWORK)
>
> to
>
> LDSHARED=   env MACOSX_DEPLOYMENT_TARGET=10.3 $(CC) $(LDFLAGS) -bundle  
> -undefined dynamic_lookup
> BLDSHARED=  env MACOSX_DEPLOYMENT_TARGET=10.3 $(CC) $(LDFLAGS) -bundle  
> -undefined dynamic_lookup
>
>
> Start building:
>
> >cd ~/Desktop/Python-2.4
> >MACOSX_DEPLOYMENT_TARGET=10.3
> >export MACOSX_DEPLOYMENT_TARGET
> >env MACOSX_DEPLOYMENT_TARGET=10.3 ./configure --enable-framework
> >make
> >make frameworkinstall
> >make frameworkinstallextras
>
> Change you PATH:
>
> >emacs ~/.bashrc
>
> Add:
>
> PATH=/usr/local/bin:$PATH
> export PATH
>
> This seems to work for me. Please let me know if something is missing.
>
> Robert Valsjö
> Xtrafone
> www.xtrafone.com
> E-mail: robert at xtrafone.com
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>
  


More information about the Pythonmac-SIG mailing list