]> git.saurik.com Git - wxWidgets.git/blame - wxPython/distrib/mac/wxPythonOSX/resources/postflight
newevent helpers
[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
1fded56b 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
1e4a197e
RD
8
9# Make the demo/data dir writable
1fded56b 10chmod a+w /Applications/wxPythonOSX-2.4.1.1/demo/data
1e4a197e
RD
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
1fded56b 14chgrp -R admin /Applications/wxPythonOSX-2.4.1.1
1e4a197e 15chmod -R g+w $2/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/wxPython
1fded56b 16chmod -R g+w /Applications/wxPythonOSX-2.4.1.1
1e4a197e
RD
17
18exit 0