]> git.saurik.com Git - wxWidgets.git/blame - wxPython/distrib/mac/wxPythonOSX/resources/postflight
Merged wxPython 2.4.x to the 2.5 branch (Finally!!!)
[wxWidgets.git] / wxPython / distrib / mac / wxPythonOSX / resources / postflight
CommitLineData
1e4a197e
RD
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.0.7/demo
8
9# Make the demo/data dir writable
10chmod a+w /Applications/wxPythonOSX-2.4.0.7/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.0.7
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.0.7
17
18exit 0