]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/build_packages.sh
6 if [ "$WXWIN" = "" ]; then
7 export WXWIN
=`pwd`/..
/..
10 echo "wxWidgets directory is: $WXWIN"
12 if [ "$OSTYPE" = "cygwin" ]; then
13 # do setup of build environment vars
14 if [ "$TOOLS" = "" ]; then
15 export TOOLS
=`cygpath C:\\`
18 if [ "$SWIGDIR" = "" ]; then
19 export SWIGDIR
=$TOOLS/SWIG
-1.3
.24
22 # copy wxPython build scripts
23 cp $WXWIN/wxPython
/distrib
/msw
/.m
* $WXWIN/build
/msw
25 # setup wxPython defines
26 cp $WXWIN/include
/wx
/msw
/setup0.h
$WXWIN/include
/wx
/msw
/setup.h
27 $TOOLS/Python
$PY_VERSION/python
`cygpath -d $WXWIN/wxPython/distrib/create_setup.h.py` $@
29 export PATH
=${PATH}:${WXWIN}/lib
/vc_dll
32 # remove old build files
35 if [ "$UNICODE" != "" ]; then
40 # make tools for docs creation, etc.
43 # update the language files
47 # TODO: Make the documentation
51 $TOOLS/Python
$PY_VERSION/python
`cygpath -d distrib/makemo.py`
53 rm -rf build build.unicode
56 # re-generate SWIG files
59 # build the hybrid extension
60 # NOTE: Win Python needs Windows-style pathnames, so we
62 export WXWIN
=`cygpath -d $WXWIN`
63 export SWIGDIR
=`cygpath -d $SWIGDIR`
67 if [ "$DEBUG" != "" ]; then
70 if [ "$UNICODE" != "" ]; then
71 UNICODE_FLAG
="UNICODE=1"
73 b
$PY_VERSION h
$DEBUG_FLAG $UNICODE_FLAG
75 # make the dev package
78 $TOOLS/Python
$PY_VERSION/python distrib
/make_installer_inno4.py
$UNICODE_FLAG
80 elif [ "$OSTYPE" = "darwin" ]; then
83 # re-generate SWIG files
86 sudo distrib
/mac
/wxPythonOSX
/build
2.3 panther inplace
89 echo "OSTYPE $OSTYPE not yet supported by this build script."