From 470cc7cea8924d4129d42d6981a0689962214dd6 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 10 May 2012 22:39:29 +0000 Subject: [PATCH] Import __version__ differently so WingIDE's source analysis works again. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/__init__.py b/src/__init__.py index 6941c08c..1f039c6b 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -7,7 +7,10 @@ # License: wxWindows License #--------------------------------------------------------------------------- -from core import __version__ +# Load the main version string into the package namespace +import __version__ +__version__ = __version__.VERSION_STRING + # Import all items from the core wxPython modules so they appear in the wx # package namespace.