#!/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.2b7+"
+VERSION = "2.3.3rc"
DESCRIPTION = "Cross platform GUI toolkit for Python"
AUTHOR = "Robin Dunn"
AUTHOR_EMAIL = "Robin Dunn <robin@alldunn.com>"
# 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
#----------------------------------------------------------------------
BUILD_OGL = 0
BUILD_STC = 0
BUILD_XRC = 0
+ BUILD_GIZMOS = 0
+ BUILD_DLLWIDGET = 0
+
#----------------------------------------------------------------------
# Setup some platform specific stuff
'%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,
ext = Extension('gizmosc', [
'%s/dynamicsash.cpp' % GIZMOLOC,
'%s/editlbox.cpp' % GIZMOLOC,
- '%s/multicell.cpp' % GIZMOLOC,
+ #'%s/multicell.cpp' % GIZMOLOC,
'%s/splittree.cpp' % GIZMOLOC,
+ '%s/ledctrl.cpp' % GIZMOLOC,
] + swig_sources,
include_dirs = gizmos_includes,
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"]),
+ ]
+
+
#----------------------------------------------------------------------
packages = [PKGDIR,
PKGDIR+'.lib',
PKGDIR+'.lib.editor',
- PKGDIR+'.lib.mixins'
+ PKGDIR+'.lib.mixins',
+ PKGDIR+'.lib.PyCrust',
],
ext_package = PKGDIR,
ext_modules = wxpExtensions,
+
+ ##data_files = TOOLS,
)
else:
ext_package = PKGDIR,
ext_modules = wxpExtensions,
+
)