]>
Commit | Line | Data |
---|---|---|
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 | 10 | chmod a+w /Applications/wxPythonOSX-2.4.1.1/demo/data |
1e4a197e RD |
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 | |
1fded56b | 14 | chgrp -R admin /Applications/wxPythonOSX-2.4.1.1 |
1e4a197e | 15 | chmod -R g+w $2/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/wxPython |
1fded56b | 16 | chmod -R g+w /Applications/wxPythonOSX-2.4.1.1 |
1e4a197e RD |
17 | |
18 | exit 0 |