From: Robin Dunn Date: Sun, 24 Oct 2004 00:17:57 +0000 (+0000) Subject: Combine the common installer package into the main package X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/79db03c99e12cb3ff08404ef01cb614cbd659042?hp=45b323521bcc3b79c6aa02acc48269eb7e5a80f0 Combine the common installer package into the main package git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/distrib/mac/wxPythonOSX/build b/wxPython/distrib/mac/wxPythonOSX/build index dacdd398e0..0e6e4adda8 100755 --- a/wxPython/distrib/mac/wxPythonOSX/build +++ b/wxPython/distrib/mac/wxPythonOSX/build @@ -137,7 +137,6 @@ TMPDIR=$PWD/_build_dmg BUILDROOT=$TMPDIR/build INSTALLROOT=$TMPDIR/install-root -INSTALLCOMMON=$TMPDIR/install-common INSTALLAPPS=$TMPDIR/install-apps DMGDIR=$TMPDIR/dmg @@ -154,7 +153,6 @@ SRCROOT=$BUILDROOT/wxPython-src-$VERSION mkdir -p $BUILDROOT mkdir -p $INSTALLROOT -mkdir -p $INSTALLCOMMON mkdir -p $INSTALLAPPS rm -rf $DMGDIR @@ -286,15 +284,10 @@ if [ $skipinstall != yes ]; then SITEPACKAGES=/Library/Python/$PYVER fi - # move the common files to $INSTALLCOMMON - mkdir -p $INSTALLCOMMON$SITEPACKAGES - mv $INSTALLROOT$SITEPACKAGES/wx.pth $INSTALLCOMMON$SITEPACKAGES - mv $INSTALLROOT$SITEPACKAGES/wxversion.py $INSTALLCOMMON$SITEPACKAGES - - # install wxPython's tool scripts in COMMON too - mkdir -p $INSTALLCOMMON$BINPREFIX + # install wxPython's tool scripts + mkdir -p $INSTALLROOT$BINPREFIX cd $WXDIR/wxPython/scripts - python$PYVER CreateMacScripts.py $INSTALLCOMMON $BINPREFIX + python$PYVER CreateMacScripts.py $INSTALLROOT $BINPREFIX # Remove the .pyc/.pyo files they just take up space and can be recreated @@ -303,17 +296,17 @@ if [ $skipinstall != yes ]; then $PYTHON $PROGDIR/../zappycfiles.py $INSTALLROOT > /dev/null popd - # Set premissions for files in $INSTALLROOT and $INSTALLCOMMON + # Set premissions for files in $INSTALLROOT if [ "$UID" = "0" ]; then - chown -R root:admin $INSTALLROOT $INSTALLCOMMON - chmod -R g+w $INSTALLROOT $INSTALLCOMMON + chown -R root:admin $INSTALLROOT + chmod -R g+w $INSTALLROOT fi fi if [ "$KIND" = "panther" ]; then SITEPACKAGES=/Library/Python/$PYVER fi -PKGDIR=`cat $INSTALLCOMMON$SITEPACKAGES/wx.pth` +PKGDIR=`cat $INSTALLROOT$SITEPACKAGES/wx.pth` popd @@ -339,10 +332,11 @@ This Installer package will install the wxPython $CHARTYPE runtime $VERSION for * The wxPython packages and modules * The wxWidgets shared libraries and headers + * Some command line tool scripts, installed to /usr/local/bin. You must install onto your current boot disk, eventhough the installer does not enforce this, otherwise things will not work. -You can install more than one version of the wxPython runtime if you desire. You also need to install one instance of the wxPython-common package, which will determine which of the installed runtimes will be the default. +You can install more than one version of the wxPython runtime if you desire. The most recently installed version will be the default wxPython, but you can choose another by setting the PYTHONPATH or by using the wxversion module. See http://wiki.wxpython.org/index.cgi/MultiVersionInstalls for more details. Build date: `date` EOF @@ -394,35 +388,6 @@ EOF rm $RESOURCEDIR/Welcome.txt - #----------------------------------------------- - # The common files package - - # Make the welcome message - cat > $RESOURCEDIR/Welcome.txt < "$DMGROOT/README 1st.txt" <