#!/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.2.1"
DESCRIPTION = "Cross platform GUI toolkit for Python"
AUTHOR = "Robin Dunn"
AUTHOR_EMAIL = "Robin Dunn <robin@alldunn.com>"
BUILD_OGL = 0
BUILD_STC = 0
BUILD_XRC = 0
+ BUILD_GIZMOS = 0
+ BUILD_DLLWIDGET = 0
+
#----------------------------------------------------------------------
# Setup some platform specific stuff
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,
+
)