]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/distrib/mac/wxPythonOSX/resources/postflight
reSWIGged
[wxWidgets.git] / wxPython / distrib / mac / wxPythonOSX / resources / postflight
... / ...
CommitLineData
1#!/bin/sh -e
2# Compile the .py files in the wxPython pacakge
3/usr/local/bin/python $2/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/../compileall.py $2/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/wxPython
4/usr/local/bin/python -O $2/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/../compileall.py $2/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/wxPython
5
6# and in the demo
7/usr/local/bin/python $2/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/../compileall.py /Applications/wxPythonOSX-2.4.1.1/demo
8
9# Make the demo/data dir writable
10chmod a+w /Applications/wxPythonOSX-2.4.1.1/demo/data
11
12# and the wxPython pacakge should be group writable
13chgrp -R admin $2/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/wxPython
14chgrp -R admin /Applications/wxPythonOSX-2.4.1.1
15chmod -R g+w $2/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/wxPython
16chmod -R g+w /Applications/wxPythonOSX-2.4.1.1
17
18exit 0