#!/bin/sh -e
# Compile the .py files in the wxPython pacakge
/usr/bin/python2.3 $2/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/compileall.py $2/Library/Python/2.3/wx-2.6-mac-unicode
/usr/bin/python2.3 -O $2/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/compileall.py $2/Library/Python/2.3/wx-2.6-mac-unicode

# and all of the wxPython pacakge should be group writable
chgrp -R admin $2/Library/Python/2.3/wx-2.6-mac-unicode
chmod -R g+w $2/Library/Python/2.3/wx-2.6-mac-unicode

exit 0
