VER_MAJOR = 2 # The first three must match wxWidgets
VER_MINOR = 7
VER_RELEASE = 0
-VER_SUBREL = 0 # wxPython release num for x.y.z release of wxWidgets
+VER_SUBREL = 1 # wxPython release num for x.y.z release of wxWidgets
VER_FLAGS = "pre" # release flags, such as prerelease or RC num, etc.
DESCRIPTION = "Cross platform GUI toolkit for Python"
moFiles = glob.glob(opj(WXDIR, 'locale', '*.mo'))
for src in moFiles:
lang = os.path.splitext(os.path.basename(src))[0]
- dest = opj(destdir, lang)
+ #dest = opj(destdir, lang)
+ dest = opj(destdir, lang, 'LC_MESSAGES')
mkpath(dest, verbose=verbose)
copy_file(src, opj(dest, 'wxstd.mo'), update=1, verbose=verbose)
CLEANUP.append(opj(dest, 'wxstd.mo'))
else:
newLFLAGS.append(flag)
- return newLFLAGS
+ # remove any flags for universal binaries, we'll get those from
+ # distutils instead
+ return [flag for flag in newLFLAGS
+ if flag not in ['-isysroot', '-arch', 'ppc', 'i386'] and
+ not flag.startswith('/Developer') ]