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:
@@ -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__
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user