Made the version number information more robust and uh, informative.

Also added asserts to check that the major.minor versions of wxPython
and wxWindows match.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-04-02 01:49:07 +00:00
parent d842ec8482
commit 58ccbbc7b7
6 changed files with 58 additions and 30 deletions

View File

@@ -12,13 +12,12 @@
#----------------------------------------------------------------------------
import __version__
__version__ = __version__.ver
__version__ = __version__.wxVERSION_STRING
# Ensure the main extension module is loaded, in case the add-on modules
# (such as utils,) are used standalone.
import wxc
wxc.__version__ = __version__
#----------------------------------------------------------------------------