From 47c902be437adce0ecf53ba1607595e75b806be1 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 21 Mar 2003 03:36:14 +0000 Subject: [PATCH] Tweaks to MacPython build scripts and such git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/distrib/mac/MacPython/build | 2 +- .../distrib/mac/MacPython/resources/Welcome.txt | 4 ++-- .../distrib/mac/MacPython/resources/postflight | 17 +++++++++-------- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/wxPython/distrib/mac/MacPython/build b/wxPython/distrib/mac/MacPython/build index 00b9885523..f684d4363c 100755 --- a/wxPython/distrib/mac/MacPython/build +++ b/wxPython/distrib/mac/MacPython/build @@ -7,7 +7,7 @@ # Script configs PYVERSION=2.3a2 PYVER=2.3 -BUILDNUM=2 +BUILDNUM=3 DOCLEANUP=no PROGDIR="`dirname \"$0\"`" diff --git a/wxPython/distrib/mac/MacPython/resources/Welcome.txt b/wxPython/distrib/mac/MacPython/resources/Welcome.txt index 61de552ebc..9ecb080986 100644 --- a/wxPython/distrib/mac/MacPython/resources/Welcome.txt +++ b/wxPython/distrib/mac/MacPython/resources/Welcome.txt @@ -2,5 +2,5 @@ Welcome! This program will install Python 2.3a2 for Mac OS X as a Framework. -Build number: 2 -Build date: Mon Mar 3 19:02:54 PST 2003 +Build number: 3 +Build date: Thu Mar 20 18:54:52 PST 2003 diff --git a/wxPython/distrib/mac/MacPython/resources/postflight b/wxPython/distrib/mac/MacPython/resources/postflight index 742a2c5637..25c12c1c04 100755 --- a/wxPython/distrib/mac/MacPython/resources/postflight +++ b/wxPython/distrib/mac/MacPython/resources/postflight @@ -22,12 +22,12 @@ fi mkdir -p $TOOLDIR # Make some links to the python executable -if [ -e $TOOLDIR/python$PYVER]; then +if [ -e $TOOLDIR/python$PYVER ]; then rm $TOOLDIR/python$PYVER fi ln -fs $DEST/Library/Frameworks/Python.framework/Versions/$PYVER/bin/python $TOOLDIR/python$PYVER -if [ -e $TOOLDIR/python]; then +if [ -e $TOOLDIR/python ]; then rm $TOOLDIR/python fi ln -fs python$PYVER $TOOLDIR/python @@ -44,18 +44,19 @@ chmod +x $TOOLDIR/pythonw # Compile the .py files in the Python library to .pyc's and then .pyo's $TOOLDIR/python -Wi -tt \ $DEST/Library/Frameworks/Python.framework/Versions/$PYVER/lib/python$PYVER/compileall.py \ - -x badsyntax $DEST/Library/Frameworks/Python.framework/Versions/$PYVER/lib/python$PYVER + -x badsyntax -x site-packages $DEST/Library/Frameworks/Python.framework/Versions/$PYVER/lib/python$PYVER $TOOLDIR/python -Wi -tt -O \ $DEST/Library/Frameworks/Python.framework/Versions/$PYVER/lib/python$PYVER/compileall.py \ - -x badsyntax $DEST/Library/Frameworks/Python.framework/Versions/$PYVER/lib/python$PYVER + -x badsyntax -x site-packages $DEST/Library/Frameworks/Python.framework/Versions/$PYVER/lib/python$PYVER # Make the site-packages and other dirs writable by the admin. - -for d in lib/python$PYVER/site-packages bin; do - chgrp admin $DEST/Library/Frameworks/Python.framework/Versions/$PYVER/$d - chmod g+w $DEST/Library/Frameworks/Python.framework/Versions/$PYVER/$d +for d in $DEST/Library/Frameworks/Python.framework/Versions/$PYVER/lib/python$PYVER/site-packages \ + $DEST/Library/Frameworks/Python.framework/Versions/$PYVER/bin \ + $DEST/Applications/MacPython-$PYVER; do + chgrp -R admin $d + chmod -R g+w $d done