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
This commit is contained in:
@@ -5,14 +5,14 @@
|
|||||||
# TODO: Parameterize the versions, builddirs, etc...
|
# TODO: Parameterize the versions, builddirs, etc...
|
||||||
|
|
||||||
# Script configs
|
# Script configs
|
||||||
PYVERSION=2.3a1
|
PYVERSION=2.3a2
|
||||||
PYVER=2.3
|
PYVER=2.3
|
||||||
BUILDNUM=3
|
BUILDNUM=2
|
||||||
DOCLEANUP=no
|
DOCLEANUP=no
|
||||||
|
|
||||||
PROGDIR="`dirname \"$0\"`"
|
PROGDIR="`dirname \"$0\"`"
|
||||||
TMPDIR=/tmp/_py
|
TMPDIR=/tmp/_py
|
||||||
TMPDIR=/projects/_py
|
#TMPDIR=/projects/_py
|
||||||
|
|
||||||
BUILDROOT=$TMPDIR/build
|
BUILDROOT=$TMPDIR/build
|
||||||
INSTALLROOT=$TMPDIR/install
|
INSTALLROOT=$TMPDIR/install
|
||||||
@@ -87,6 +87,11 @@ Build date: `date`
|
|||||||
EOF
|
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...
|
# Finally, build the package...
|
||||||
rm -rf MacPython-OSX.pkg
|
rm -rf MacPython-OSX.pkg
|
||||||
python $PROGDIR/../buildpkg.py \
|
python $PROGDIR/../buildpkg.py \
|
||||||
@@ -96,10 +101,11 @@ python $PROGDIR/../buildpkg.py \
|
|||||||
--NeedsAuthorization="YES" \
|
--NeedsAuthorization="YES" \
|
||||||
--Relocatable="NO" \
|
--Relocatable="NO" \
|
||||||
--InstallOnly="YES" \
|
--InstallOnly="YES" \
|
||||||
--RootVolumeOnly="YES" \
|
|
||||||
$INSTALLROOT \
|
$INSTALLROOT \
|
||||||
$RESOURCEDIR
|
$RESOURCEDIR
|
||||||
|
|
||||||
|
## --RootVolumeOnly="YES" \
|
||||||
|
|
||||||
# ...and then make a disk image containing the package.
|
# ...and then make a disk image containing the package.
|
||||||
mv MacPython-OSX.pkg $DMGDIR/root
|
mv MacPython-OSX.pkg $DMGDIR/root
|
||||||
$PROGDIR/../makedmg $DMGDIR/root $DMGDIR MacPython-OSX-$PYVERSION-$BUILDNUM
|
$PROGDIR/../makedmg $DMGDIR/root $DMGDIR MacPython-OSX-$PYVERSION-$BUILDNUM
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
Welcome!
|
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 number: 2
|
||||||
Build date: Thu Jan 30 15:34:23 PST 2003
|
Build date: Mon Mar 3 19:02:54 PST 2003
|
||||||
|
@@ -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
|
chmod g+w $DEST/Library/Frameworks/Python.framework/Versions/$PYVER/$d
|
||||||
done
|
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
|
||||||
|
Reference in New Issue
Block a user