Mercurial > cpython-lru_cache-weakref
view Mac/BuildScript/scripts/postflight.framework @ 51564:acdb32341d87 3.0
Merged revisions 69544 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r69544 | ronald.oussoren | 2009-02-12 17:08:14 +0100 (Thu, 12 Feb 2009) | 2 lines
Fix for issue5224 ("Update Shell Profile.command" contains wrong Python version on OSX)
........
| author | Ronald Oussoren <ronaldoussoren@mac.com> |
|---|---|
| date | Thu, 12 Feb 2009 16:09:09 +0000 |
| parents | a65619ad59f2 |
| children | b3d25e6f66f1 |
line wrap: on
line source
#!/bin/sh # # Recompile the .py files. # PYVER="@PYVER@" FWK="/Library/Frameworks/Python.framework/Versions/@PYVER@" "${FWK}/bin/python" -Wi \ "${FWK}/lib/python${PYVER}/compileall.py" \ -x badsyntax -x site-packages \ "${FWK}/lib/python${PYVER}" "${FWK}/bin/python" -Wi -O \ "${FWK}/lib/python${PYVER}/compileall.py" \ -x badsyntax -x site-packages \ "${FWK}/lib/python${PYVER}" "${FWK}/bin/python" -Wi \ "${FWK}/lib/python${PYVER}/compileall.py" \ -x badsyntax -x site-packages \ "${FWK}/Mac/Tools" "${FWK}/bin/python" -Wi -O \ "${FWK}/lib/python${PYVER}/compileall.py" \ -x badsyntax -x site-packages \ "${FWK}/Mac/Tools" chown -R admin "${FWK}" chmod -R g+w "${FWK}" exit 0
