[Python-checkins] python/dist/src/Mac/OSX/Dist build,1.1,1.2

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
2003年3月21日 16:02:26 -0800


Update of /cvsroot/python/python/dist/src/Mac/OSX/Dist
In directory sc8-pr-cvs1:/tmp/cvs-serv4163
Modified Files:
	build 
Log Message:
Lots of tweaks to make this work in the new setting. Not fully tested yet.
Index: build
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/OSX/Dist/build,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** build	21 Mar 2003 23:52:36 -0000	1.1
--- build	22 Mar 2003 00:02:23 -0000	1.2
***************
*** 12,15 ****
--- 12,23 ----
 
 PROGDIR="`dirname \"0ドル\"`"
+ case x$PROGDIR in
+ x|x.) PROGDIR=`pwd` ;;
+ x/*) ;;
+ *) echo "Please run with a full pathname"
+ exit 1
+ ;;
+ esac
+ 
 TMPDIR=/tmp/_py
 #TMPDIR=/projects/_py
***************
*** 19,25 ****
 DMGDIR=$TMPDIR/dmg
 RESOURCEDIR=$PROGDIR/resources
! DESTDIR=/projects/wx/wxPython/dist
! PYTHONSRC=/projects/Python-$PYVERSION
! WASTEDIR=/projects/waste
 
 # Setup
--- 27,33 ----
 DMGDIR=$TMPDIR/dmg
 RESOURCEDIR=$PROGDIR/resources
! DESTDIR=$TMPDIR/dist
! PYTHONSRC=$PROGDIR/../../..
! WASTEDIR=$PYTHONSRC/../waste
 
 # Setup
***************
*** 72,79 ****
 # First, remove the unix tools as their paths will be wrong. We'll recreate
 # them in the postinstall.
! rm -r $INSTALLROOT/usr
 
 # Next, remove the .pyc/.pyo files
! python $PROGDIR/../zappycfiles.py $INSTALLROOT/Library/Frameworks/Python.framework/Versions/$PYVER/lib/python$PYVER
 
 # Make the welcome message
--- 80,88 ----
 # First, remove the unix tools as their paths will be wrong. We'll recreate
 # them in the postinstall.
! rm -rf $INSTALLROOT/usr
 
 # Next, remove the .pyc/.pyo files
! python $PYTHONSRC/Mac/scripts/zappycfiles.py $INSTALLROOT/Library/Frameworks/Python.framework/Versions/$PYVER/lib/python$PYVER
! python $PYTHONSRC/Mac/scripts/zappycfiles.py $INSTALLROOT/Library/Frameworks/Python.framework/Versions/$PYVER/Mac/Tools
 
 # Make the welcome message
***************
*** 87,99 ****
 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 \
 --Title=MacPython-OSX \
 --Version=$PYVERSION-$BUILDNUM \
--- 96,102 ----
 EOF
 
 # Finally, build the package...
 rm -rf MacPython-OSX.pkg
! python $PYTHONSRC/Mac/scripts/buildpkg.py \
 --Title=MacPython-OSX \
 --Version=$PYVERSION-$BUILDNUM \
***************
*** 109,113 ****
 # ...and then make a disk image containing the package.
 mv MacPython-OSX.pkg $DMGDIR/root
! $PROGDIR/../makedmg $DMGDIR/root $DMGDIR MacPython-OSX-$PYVERSION-$BUILDNUM
 
 echo Moving $DMGDIR/MacPython-OSX-$PYVERSION-$BUILDNUM to $DESTDIR
--- 112,116 ----
 # ...and then make a disk image containing the package.
 mv MacPython-OSX.pkg $DMGDIR/root
! $PROGDIR/makedmg $DMGDIR/root $DMGDIR MacPython-OSX-$PYVERSION-$BUILDNUM
 
 echo Moving $DMGDIR/MacPython-OSX-$PYVERSION-$BUILDNUM to $DESTDIR
***************
*** 127,129 ****
--- 130,133 ----
 echo " $DMGDIR"
 fi
+ echo "Your installer can be found in $DESTDIR"
 

AltStyle によって変換されたページ (->オリジナル) /