VER_MAJOR = 2 # The first three must match wxWidgets
VER_MINOR = 5
VER_RELEASE = 2
-VER_SUBREL = 0 # wxPython release num for x.y.z release of wxWidgets
-VER_FLAGS = "p" # release flags, such as prerelease num, unicode, etc.
+VER_SUBREL = 1 # wxPython release num for x.y.z release of wxWidgets
+VER_FLAGS = "" # release flags, such as prerelease num, unicode, etc.
DESCRIPTION = "Cross platform GUI toolkit for Python"
AUTHOR = "Robin Dunn"
i_file = os.path.join(dir, file)
py_file = os.path.join(dir, gendir, pre+basefile+'.py')
cpp_file = os.path.join(dir, gendir, pre+basefile+'_wrap.cpp')
- xml_file = os.path.join("docs", "xml-raw", basefile+'_swig.xml')
+ xml_file = os.path.join("docs", "xml-raw", basefile+pre+'_swig.xml')
if add_under:
interface = ['-interface', '_'+basefile+'_']
# This file is a list of the directories whose contents should be
# included in any tarball, etc. for building wxPython.
#
-# This list is generated with this command, run from the $WXWIN dir:
+# This list is generated with this command, run from the $WXWIN dir,
+# and then hand edited after that:
+#
# find wxPython -type d -print | sort | egrep -v "(CVS|build|tmp|xml-raw|dist$)"
#
wxPython/contrib/gizmos/gtk
wxPython/contrib/gizmos/mac
wxPython/contrib/gizmos/msw
+wxPython/contrib/gizmos/wxCode
+wxPython/contrib/gizmos/wxCode/include
+wxPython/contrib/gizmos/wxCode/include/wx
+wxPython/contrib/gizmos/wxCode/src
wxPython/contrib/glcanvas
wxPython/contrib/glcanvas/gtk
wxPython/contrib/glcanvas/mac
wxPython/contrib/ogl/mac
wxPython/contrib/ogl/msw
wxPython/contrib/stc
+wxPython/contrib/stc/gtk
+wxPython/contrib/stc/mac
+wxPython/contrib/stc/msw
wxPython/contrib/xrc
+wxPython/contrib/xrc/gtk
+wxPython/contrib/xrc/mac
+wxPython/contrib/xrc/msw
wxPython/demo
wxPython/demo/bitmaps
wxPython/demo/bmp_source
wxPython/wx/lib
wxPython/wx/lib/colourchooser
wxPython/wx/lib/editor
+wxPython/wx/lib/floatcanvas
wxPython/wx/lib/masked
wxPython/wx/lib/mixins
wxPython/wx/lib/ogl
-wxPython/wx/lib/floatcanvas
wxPython/wx/py
wxPython/wx/py/tests
wxPython/wxPython
echo "command flags:"
echo " skipcopy Don't copy the files for the tarball from the workspace"
echo " skiptar Don't build the tarball"
- echo " skiprpm Don't build the RPM (but why?)"
+ echo " skiprpm Don't build the RPM"
echo " skipclean Don't do the cleanup at the end"
echo " gtk2 Build using wxGTK2 and Unicode"
echo " x11 Build using wxX11"
case ${flag} in
skipcopy) skipcopy=1 ;;
skipclean) skipclean=1 ;;
- skiptar) skiptar=1 ;;
+ skiptar) skiptar=1; skipcopy=1 ;;
skiprpm) skiprpm=1 ;;
gtk2) unicode=1; port=GTK2; lcport=gtk2 ;;
x11) port=X11; lcport=x11 ;;
NO_SCRIPTS=1 \
WXPORT=%{lcport} \
UNICODE=%{unicode} \
- WX_CONFIG="$WXDIR/bld/wx-config --prefix=$WXDIR --exec-prefix=$WXDIR/bld" \
- CONTRIBS_INC="$WXDIR/contrib/include" \
- build
+ WX_CONFIG="$WXDIR/bld/wx-config --inplace" \
+ build
# Build wxrc (XRC resource tool)