mirror of
https://github.com/python/cpython.git
synced 2025-08-17 15:21:26 +00:00

svn+ssh://pythondev@svn.python.org/python/trunk ........ r74981 | ronald.oussoren | 2009-09-20 22:16:11 +0200 (Sun, 20 Sep 2009) | 3 lines * Make it easier to build custom installers (such as a 3-way universal build) * Upgrade bzip dependency to 1.0.5 ........
22 lines
484 B
Bash
Executable file
22 lines
484 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# Recompile the .py files.
|
|
#
|
|
|
|
PYVER="@PYVER@"
|
|
FWK="/Library/Frameworks/Python.framework/Versions/@PYVER@"
|
|
|
|
"${FWK}/bin/python@PYVER@" -Wi -tt \
|
|
"${FWK}/lib/python${PYVER}/compileall.py" \
|
|
-x badsyntax -x site-packages \
|
|
"${FWK}/lib/python${PYVER}"
|
|
|
|
"${FWK}/bin/python@PYVER@" -Wi -tt -O \
|
|
"${FWK}/lib/python${PYVER}/compileall.py" \
|
|
-x badsyntax -x site-packages \
|
|
"${FWK}/lib/python${PYVER}"
|
|
|
|
chgrp -R admin "${FWK}"
|
|
chmod -R g+w "${FWK}"
|
|
|
|
exit 0
|