#!/usr/bin/env python
#----------------------------------------------------------------------
-import sys, os, string
+import sys, os, string, glob
from distutils.core import setup, Extension
from distutils.file_util import copy_file
from distutils.dir_util import mkpath
# flags and values that affect this script
#----------------------------------------------------------------------
-VERSION = "2.3.2"
+VERSION = "2.3.3rc"
DESCRIPTION = "Cross platform GUI toolkit for Python"
AUTHOR = "Robin Dunn"
AUTHOR_EMAIL = "Robin Dunn <robin@alldunn.com>"
"""
-BUILD_GLCANVAS = 0 #1 # If true, build the contrib/glcanvas extension module
+BUILD_GLCANVAS = 1 # If true, build the contrib/glcanvas extension module
BUILD_OGL = 1 # If true, build the contrib/ogl extension module
BUILD_STC = 1 # If true, build the contrib/stc extension module
BUILD_XRC = 1 # XML based resource system
CORE_ONLY = 0 # if true, don't build any of the above
-GL_ONLY = 0 #1 #0 # Only used when making the -gl RPM. See the "b" script
+GL_ONLY = 0 # Only used when making the -gl RPM. See the "b" script
# for the ugly details
USE_SWIG = 0 # Should we actually execute SWIG, or just use the
# wxWindows must have been built with /MD, not /MDd
# (using FINAL=hybrid will do it.)
-WXDLLVER = '232' # Version part of DLL name
+WXDLLVER = '233' # Version part of DLL name
#----------------------------------------------------------------------
if CORE_ONLY:
- BUILD_GLCANVAS = 0 #0
+ BUILD_GLCANVAS = 0
BUILD_OGL = 0
BUILD_STC = 0
BUILD_XRC = 0
'%s/xh_frame.cpp' % XMLLOC,
'%s/xh_gauge.cpp' % XMLLOC,
+ '%s/xh_gdctl.cpp' % XMLLOC,
'%s/xh_html.cpp' % XMLLOC,
'%s/xh_listb.cpp' % XMLLOC,
'%s/xh_listc.cpp' % XMLLOC,
wxpExtensions.append(ext)
+#----------------------------------------------------------------------
+# Tools and scripts
+#----------------------------------------------------------------------
+
+TOOLS = [("wxPython/tools", glob.glob("tools/*.py")),
+ ("wxPython/tools/XRCed", glob.glob("tools/XRCed/*.py") +
+ glob.glob("tools/XRCed/*.xrc") +
+ ["tools/XRCed/CHANGES",
+ "tools/XRCed/TODO",
+ "tools/XRCed/README"]),
+ ]
+
+
#----------------------------------------------------------------------
ext_package = PKGDIR,
ext_modules = wxpExtensions,
+
+ ##data_files = TOOLS,
)
else:
ext_package = PKGDIR,
ext_modules = wxpExtensions,
+
)