]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/build_packages.sh
12 unicode
) unicode
=yes ;;
16 if [ "$WXWIN" = "" ]; then
17 export WXWIN
=`pwd`/..
/..
20 echo "wxWidgets directory is: $WXWIN"
22 if [ "$OSTYPE" = "cygwin" ]; then
23 # do setup of build environment vars
24 if [ "$TOOLS" = "" ]; then
25 export TOOLS
=`cygpath C:\\`
28 if [ "$SWIGDIR" = "" ]; then
29 export SWIGDIR
=$TOOLS/SWIG
-1.3
.24
32 # copy wxPython build scripts
33 cp $WXWIN/wxPython
/distrib
/msw
/.m
* $WXWIN/build
/msw
35 # setup wxPython defines
36 cp $WXWIN/include
/wx
/msw
/setup0.h
$WXWIN/include
/wx
/msw
/setup.h
37 $TOOLS/Python
$PY_VERSION/python
`cygpath -d $WXWIN/wxPython/distrib/create_setup.h.py` $@
39 export PATH
=${PATH}:${WXWIN}/lib
/vc_dll
42 # remove old build files
45 if [ $unicode = yes ]; then
50 # make tools for docs creation, etc.
53 # update the language files
57 # TODO: Make the documentation
61 $TOOLS/Python
$PY_VERSION/python
`cygpath -d distrib/makemo.py`
63 rm -rf build build.unicode
66 # re-generate SWIG files
69 # build the hybrid extension
70 # NOTE: Win Python needs Windows-style pathnames, so we
72 export WXWIN
=`cygpath -d $WXWIN`
73 export SWIGDIR
=`cygpath -d $SWIGDIR`
77 if [ "$DEBUG" != "" ]; then
80 if [ $unicode = yes ]; then
81 UNICODE_FLAG
="UNICODE=1"
83 b
$PY_VERSION h
$DEBUG_FLAG $UNICODE_FLAG
85 # make the dev package
88 $TOOLS/Python
$PY_VERSION/python distrib
/make_installer_inno4.py
$UNICODE_FLAG
90 elif [ "$OSTYPE" = "darwin" ]; then
93 # re-generate SWIG files
97 if [ "$PY_VERSION" = "24" ]; then
102 if [ $unicode = yes ]; then
106 sudo distrib
/mac
/wxPythonOSX
/build
$PY_DOT_VER panther inplace
$UNICODE_OPT
109 echo "OSTYPE $OSTYPE not yet supported by this build script."