From 30280ee3df59855acc987e656632cc477d2e7725 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 4 Mar 2003 04:51:10 +0000 Subject: [PATCH] Updated MacPython build scripts for 2.3a2 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/distrib/mac/MacPython/build | 14 ++++++++++---- .../distrib/mac/MacPython/resources/Welcome.txt | 6 +++--- .../distrib/mac/MacPython/resources/postflight | 6 ++++++ 3 files changed, 19 insertions(+), 7 deletions(-) diff --git a/wxPython/distrib/mac/MacPython/build b/wxPython/distrib/mac/MacPython/build index 735c6d1673..00b9885523 100755 --- a/wxPython/distrib/mac/MacPython/build +++ b/wxPython/distrib/mac/MacPython/build @@ -5,14 +5,14 @@ # TODO: Parameterize the versions, builddirs, etc... # Script configs -PYVERSION=2.3a1 +PYVERSION=2.3a2 PYVER=2.3 -BUILDNUM=3 +BUILDNUM=2 DOCLEANUP=no PROGDIR="`dirname \"$0\"`" TMPDIR=/tmp/_py -TMPDIR=/projects/_py +#TMPDIR=/projects/_py BUILDROOT=$TMPDIR/build INSTALLROOT=$TMPDIR/install @@ -87,6 +87,11 @@ Build date: `date` EOF +# fix a bug in the IDLE install +IDLERES=$INSTALLROOT/Applications/MacPython-2.3/IDLE.app/Contents/Resources +mv $IDLERES/idlelib/idle $IDLERES + + # Finally, build the package... rm -rf MacPython-OSX.pkg python $PROGDIR/../buildpkg.py \ @@ -96,10 +101,11 @@ python $PROGDIR/../buildpkg.py \ --NeedsAuthorization="YES" \ --Relocatable="NO" \ --InstallOnly="YES" \ - --RootVolumeOnly="YES" \ $INSTALLROOT \ $RESOURCEDIR +## --RootVolumeOnly="YES" \ + # ...and then make a disk image containing the package. mv MacPython-OSX.pkg $DMGDIR/root $PROGDIR/../makedmg $DMGDIR/root $DMGDIR MacPython-OSX-$PYVERSION-$BUILDNUM diff --git a/wxPython/distrib/mac/MacPython/resources/Welcome.txt b/wxPython/distrib/mac/MacPython/resources/Welcome.txt index d302e467fe..61de552ebc 100644 --- a/wxPython/distrib/mac/MacPython/resources/Welcome.txt +++ b/wxPython/distrib/mac/MacPython/resources/Welcome.txt @@ -1,6 +1,6 @@ Welcome! -This program will install Python 2.3a1 for Mac OS X as a Framework. +This program will install Python 2.3a2 for Mac OS X as a Framework. -Build number: 3 -Build date: Thu Jan 30 15:34:23 PST 2003 +Build number: 2 +Build date: Mon Mar 3 19:02:54 PST 2003 diff --git a/wxPython/distrib/mac/MacPython/resources/postflight b/wxPython/distrib/mac/MacPython/resources/postflight index 1ca0459997..742a2c5637 100755 --- a/wxPython/distrib/mac/MacPython/resources/postflight +++ b/wxPython/distrib/mac/MacPython/resources/postflight @@ -58,3 +58,9 @@ for d in lib/python$PYVER/site-packages bin; do chmod g+w $DEST/Library/Frameworks/Python.framework/Versions/$PYVER/$d done + +# The link in the app bundles needs updated. +for app in BuildApplet IDLE PackageManager PythonIDE; do + ln -s $DEST/Library/Frameworks/Python.framework/Versions/$PYVER/Resources/Python.app/Contents/MacOS/python \ + $DEST/Applications/MacPython-$PYVER/$app.app/Contents/MacOS +done