]>
Commit | Line | Data |
---|---|---|
7bf85405 RD |
1 | #---------------------------------------------------------------------------- |
2 | # Name: __init__.py | |
b8b8dda7 RD |
3 | # Purpose: The presence of this file turns this directory into a |
4 | # Python package. | |
7bf85405 RD |
5 | # |
6 | # Author: Robin Dunn | |
7 | # | |
d14a1e28 | 8 | # Created: 8-Aug-1998 |
7bf85405 RD |
9 | # RCS-ID: $Id$ |
10 | # Copyright: (c) 1998 by Total Control Software | |
11 | # Licence: wxWindows license | |
12 | #---------------------------------------------------------------------------- | |
13 | ||
2f90df85 | 14 | import __version__ |
d14a1e28 | 15 | __version__ = __version__.VERSION_STRING |
2f90df85 RD |
16 | |
17 | ||
54f9ee45 RD |
18 | __all__ = [ |
19 | # Sub-packages | |
20 | 'build', | |
21 | 'lib', | |
22 | 'py', | |
23 | 'tools', | |
24 | ||
25 | # other modules | |
febb39df | 26 | 'aui', |
54f9ee45 RD |
27 | 'calendar', |
28 | 'grid', | |
29 | 'html', | |
ac5abdd6 | 30 | 'media', |
febb39df | 31 | 'richtext', |
ac5abdd6 | 32 | 'webkit', |
99109c0f | 33 | 'wizard', |
ac5abdd6 | 34 | 'xrc', |
99109c0f RD |
35 | |
36 | # contribs (need a better way to find these...) | |
ac5abdd6 | 37 | 'animate', |
99109c0f RD |
38 | 'gizmos', |
39 | 'glcanvas', | |
99109c0f | 40 | 'stc', |
54f9ee45 | 41 | ] |
d14a1e28 | 42 | |
54f9ee45 RD |
43 | # Load the package namespace with the core classes and such |
44 | from wx._core import * | |
d14a1e28 | 45 | del wx |
b26e2dc4 | 46 | |
4701b681 RD |
47 | if 'wxMSW' in PlatformInfo: |
48 | __all__ += ['activex'] | |
49 | ||
54f9ee45 RD |
50 | # Load up __all__ with all the names of items that should appear to be |
51 | # defined in this pacakge so epydoc will document them that way. | |
52 | import wx._core | |
99109c0f | 53 | __docfilter__ = wx._core.__DocFilter(globals()) |
54f9ee45 | 54 | |
6aaca5ba | 55 | __all__ += [name for name in dir(wx._core) if not name.startswith('_')] |
54f9ee45 RD |
56 | |
57 | ||
58 | ||
7bf85405 | 59 | #---------------------------------------------------------------------------- |
bb0054cd | 60 |