]> git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/mac/wxPythonOSX/resources/postflight
newevent helpers
[wxWidgets.git] / wxPython / distrib / mac / wxPythonOSX / resources / postflight
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
10 chmod a+w /Applications/wxPythonOSX-2.4.1.1/demo/data
11
12 # and the wxPython pacakge should be group writable
13 chgrp -R admin $2/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/wxPython
14 chgrp -R admin /Applications/wxPythonOSX-2.4.1.1
15 chmod -R g+w $2/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/wxPython
16 chmod -R g+w /Applications/wxPythonOSX-2.4.1.1
17
18 exit 0