view Mac/BuildScript/scripts/postflight.framework @ 77670:8beffdfa29cd

Remove obsolete fixapplepython23 script and PythonSystemFixes installer package from the OS X Makefile for Python 3. It has never worked on Python 3 and is not needed there as pre-10.3.9 installs are no longer supported.
author Ned Deily <nad@acm.org>
date Sun, 24 Jun 2012 00:19:31 -0700
parents 9386e3dd5700
children 99708bb33bf7
line wrap: on
line source

#!/bin/sh
#
# Recompile the .py files.
#

PYVER="@PYVER@"
FWK="/Library/Frameworks/Python.framework/Versions/@PYVER@"

"${FWK}/bin/python@PYVER@" -Wi \
    "${FWK}/lib/python${PYVER}/compileall.py" \
    -x badsyntax -x site-packages \
    "${FWK}/lib/python${PYVER}"

"${FWK}/bin/python@PYVER@" -Wi -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