VER_MAJOR = 2 # The first three must match wxWindows
VER_MINOR = 5
VER_RELEASE = 1
-VER_SUBREL = 0 # wxPython release num for x.y.z release of wxWindows
-VER_FLAGS = "p8" # release flags, such as prerelease num, unicode, etc.
+VER_SUBREL = 1 # wxPython release num for x.y.z release of wxWindows
+VER_FLAGS = "" # release flags, such as prerelease num, unicode, etc.
DESCRIPTION = "Cross platform GUI toolkit for Python"
AUTHOR = "Robin Dunn"
BUILD_BASE = "build" # Directory to use for temporary build files.
+CONTRIBS_INC = "" # A dir to add as an -I flag when compiling the contribs
# Some MSW build settings
sys.argv[x] = ''
# String options
-for option in ['WX_CONFIG', 'WXDLLVER', 'BUILD_BASE', 'WXPORT', 'SWIG']:
+for option in ['WX_CONFIG', 'WXDLLVER', 'BUILD_BASE', 'WXPORT', 'SWIG',
+ 'CONTRIBS_INC']:
for x in range(len(sys.argv)):
if sys.argv[x].find(option) == 0:
pos = sys.argv[x].find('=') + 1
#----------------------------------------------------------------------
else:
- raise 'Sorry Charlie, platform not supported...'
+ raise 'Sorry, platform not supported...'
#----------------------------------------------------------------------
'src/_sound.i', 'src/_mimetype.i',
'src/_artprov.i', 'src/_config.i',
'src/_datetime.i', 'src/_dataobj.i',
- 'src/_dnd.i',
+ 'src/_dnd.i', 'src/_display.i',
'src/_clipbrd.i',
])
ext = Extension('_misc', swig_sources,
wxpExtensions.append(ext)
+#----------------------------------------------------------------------
-
+if CONTRIBS_INC:
+ includes += [ CONTRIBS_INC ]
#----------------------------------------------------------------------
# Define the GLCanvas extension module