$search
00001 #---------------------------------------------------------------------------- 00002 # Name: __init__.py 00003 # Purpose: The presence of this file turns this directory into a 00004 # Python package. 00005 # 00006 # Author: Robin Dunn 00007 # 00008 # Created: 8-Aug-1998 00009 # RCS-ID: $Id: __init__.py,v 1.14 2006/11/18 21:23:43 RD Exp $ 00010 # Copyright: (c) 1998 by Total Control Software 00011 # Licence: wxWindows license 00012 #---------------------------------------------------------------------------- 00013 00014 import __version__ 00015 __version__ = __version__.VERSION_STRING 00016 00017 00018 __all__ = [ 00019 # Sub-packages 00020 'build', 00021 'lib', 00022 'py', 00023 'tools', 00024 00025 # other modules 00026 'animate', 00027 'aui', 00028 'calendar', 00029 'combo', 00030 'grid', 00031 'html', 00032 'media', 00033 'richtext', 00034 'webkit', 00035 'wizard', 00036 'xrc', 00037 00038 # contribs (need a better way to find these...) 00039 'gizmos', 00040 'glcanvas', 00041 'stc', 00042 ] 00043 00044 # Load the package namespace with the core classes and such 00045 from wx._core import * 00046 del wx 00047 00048 if 'wxMSW' in PlatformInfo: 00049 __all__ += ['activex'] 00050 00051 # Load up __all__ with all the names of items that should appear to be 00052 # defined in this pacakge so epydoc will document them that way. 00053 import wx._core 00054 __docfilter__ = wx._core.__DocFilter(globals()) 00055 00056 __all__ += [name for name in dir(wx._core) if not name.startswith('_')] 00057 00058 00059 00060 #---------------------------------------------------------------------------- 00061