Ensure that __version__ is visible from wxPython/__init__.py

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-11-28 18:40:47 +00:00
parent 61c5a8acbe
commit c9c106fde5
3 changed files with 6 additions and 3 deletions

View File

@@ -44,4 +44,4 @@ MemoryFSHandler_AddFile
# given prefix and will put a reference in the local module.
EVT*
WXK*
__version__*

View File

@@ -2,9 +2,9 @@
# We need to be able to import from the wx package, but there is also
# a wxPyton.wx module and that woudl normally be chosen first by
# a wxPyton.wx module and that would normally be chosen first by
# import statements. So instead we'll have a wxPython._wx module and
# then stuff it into sys.modules with a wxPython.wx alias so odl
# then stuff it into sys.modules with a wxPython.wx alias so old
# programs will still work.
import _wx
@@ -12,3 +12,5 @@ import sys
sys.modules['wxPython.wx'] = _wx
wx = _wx
del sys
from wx import __version__

View File

@@ -1,6 +1,7 @@
# Load all symbols that should appear in the wxPython.wx namespace
from core import *
from core import __version__
from gdi import *
from windows import *
from controls import *