Robert Valsjö - 2004-05-28

How to run Boa-Constructor on Mac OS X Panther (10.3)

*Download wxPython 2.4.2  (2.5 is not working)

http://prdownloads.sourceforge.net/wxpython/wxPythonOSX-2.4.2.4-Py2.3-panther.dmg?download

*Before installaing wxPython open file postflight in the catalog (package content):

wxPythonOSX-2.4.2.4-py2.3/wxPythonOSX.pkg/Contents/Resources

*Change the postflight file to:

#!/bin/sh -e
# Compile the .py files in the wxPython pacakge
/usr/bin/python $2/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/compileall.py /Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packag
es/wxPython
/usr/bin/python -O $2/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/compileall.py /Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-pac
kages/wxPython

# and in the demo
/usr/bin/python $2/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/compileall.py /Applications/wxPythonOSX-2.4.2.4/demo

# Make the demo/data dir writable
chmod a+w /Applications/wxPythonOSX-2.4.2.4/demo/data

# and the wxPython pacakge should be group writable
chgrp -R admin $2/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/wxPython
chgrp -R admin /Applications/wxPythonOSX-2.4.2.4
chmod -R g+w $2/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/wxPython
chmod -R g+w /Applications/wxPythonOSX-2.4.2.4

exit 0

*Open Terminal and do:

cd /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages
sudo ln -s /Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/wx wx
sudo ln -s /Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/wxPython wxPython

Download and install:

http://boa-constructor.sourceforge.net/files/boa-constructor-0.2.8-snapshot.tgz

Open Terminal and do:

>python Boa.py

/rob :-)