]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/src/__init__.py
Detect Apple bug that prevents the joystick code compiling for OS X 10.1
[wxWidgets.git] / wxPython / src / __init__.py
... / ...
CommitLineData
1#----------------------------------------------------------------------------
2# Name: __init__.py
3# Purpose: The presence of this file turns this directory into a
4# Python package.
5#
6# Author: Robin Dunn
7#
8# Created: 8-Aug-1998
9# RCS-ID: $Id$
10# Copyright: (c) 1998 by Total Control Software
11# Licence: wxWindows license
12#----------------------------------------------------------------------------
13
14import __version__
15__version__ = __version__.VERSION_STRING
16
17
18__all__ = [
19 # Sub-packages
20 'build',
21 'lib',
22 'py',
23 'tools',
24
25 # other modules
26 'calendar',
27 'grid',
28 'html',
29 'media',
30 'webkit',
31 'wizard',
32 'xrc',
33
34 # contribs (need a better way to find these...)
35 'animate',
36 'gizmos',
37 'glcanvas',
38 'stc',
39 ]
40
41# Load the package namespace with the core classes and such
42from wx._core import *
43del wx
44
45if 'wxMSW' in PlatformInfo:
46 __all__ += ['activex']
47
48# Load up __all__ with all the names of items that should appear to be
49# defined in this pacakge so epydoc will document them that way.
50import wx._core
51__docfilter__ = wx._core.__DocFilter(globals())
52
53__all__ += [name for name in dir(wx._core)
54 if not (name.startswith('__') and name.endswith('__'))]
55
56
57
58#----------------------------------------------------------------------------
59