2 # ---------------------------------------------------------------------------
3 # Build wxWidgets and wxPython on a OSX (Panther) box. This is normally
4 # called from build-all but it should be able to be used standalone too...
6 # The command line must have the following parameters:
8 # 1. the path to the base of the wx source tree
9 # 2. the path of where to put the resulting installers
10 # 3. skipclean flag (yes|no)
12 # 5. the remaining args are the versions of Python to build for
14 # ---------------------------------------------------------------------------
19 echo "-=-=-=- Hello from $HOSTNAME -=-=-=-"
22 echo "Usage: $0 WXDIR DESTDIR SKIPCLEAN VERSION PYVER..."
30 shift;shift;shift;shift
34 export PATH
=/sw
/bin
:$PATH
38 echo "Unarchiving wxPythonSrc-$VERSION.tar.gz"
40 tar xzf wxPythonSrc
-$VERSION.
tar.gz
41 rm wxPythonSrc
-$VERSION.
tar.gz
44 echo "Invoking wxPythonOSX build script..."
46 export TARBALLDIR
=$DESTDIR
48 distrib
/mac
/wxPythonOSX
/build panther inplace skipclean
51 echo "Copying installers to $DESTDIR..."
52 cp dist
/*.dmg
$DESTDIR
56 if [ $SKIPCLEAN != yes ]; then
59 rm wxPythonDocs
-$VERSION.
tar.gz
60 rm wxPythonDemo
-$VERSION.
tar.gz
63 echo "-=-=-=- Goodbye! -=-=-=-"