X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d07d2bc9d05408c58b76c53a0a291915b88e5064..6ad49e18b9ed3623b263e7b45e78f53dec395ede:/wxPython/config.py diff --git a/wxPython/config.py b/wxPython/config.py index ee8414f476..2e64d92bde 100644 --- a/wxPython/config.py +++ b/wxPython/config.py @@ -37,8 +37,8 @@ import distutils.command.clean VER_MAJOR = 2 # The first three must match wxWidgets VER_MINOR = 5 -VER_RELEASE = 1 -VER_SUBREL = 6 # wxPython release num for x.y.z release of wxWidgets +VER_RELEASE = 2 +VER_SUBREL = 2 # wxPython release num for x.y.z release of wxWidgets VER_FLAGS = "p" # release flags, such as prerelease num, unicode, etc. DESCRIPTION = "Cross platform GUI toolkit for Python" @@ -300,7 +300,7 @@ def run_swig(files, dir, gendir, package, USE_SWIG, force, swig_args, i_file = os.path.join(dir, file) py_file = os.path.join(dir, gendir, pre+basefile+'.py') cpp_file = os.path.join(dir, gendir, pre+basefile+'_wrap.cpp') - xml_file = os.path.join("docs", "xml-raw", basefile+'_swig.xml') + xml_file = os.path.join("docs", "xml-raw", basefile+pre+'_swig.xml') if add_under: interface = ['-interface', '_'+basefile+'_'] @@ -720,6 +720,8 @@ if UNICODE: BUILD_BASE = BUILD_BASE + '.unicode' VER_FLAGS += 'u' +if os.path.exists('DAILY_BUILD'): + VER_FLAGS += '.' + open('DAILY_BUILD').read() VERSION = "%s.%s.%s.%s%s" % (VER_MAJOR, VER_MINOR, VER_RELEASE, VER_SUBREL, VER_FLAGS)