root/gaphor/tags/gaphor-0.2.0/gaphor/__init__.py
| Revision 191, 236 bytes (checked in by arjanmol, 6 years ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | __all__ = [ 'UML', 'diagram', 'ui', 'storage', 'plugin', 'misc' ] |
| 2 | |
| 3 | # Check for GTK-2.0, since we need it anyway. |
| 4 | import sys, pygtk |
| 5 | if not sys.modules.has_key('gtk'): |
| 6 | pygtk.require('2.0') |
| 7 | del pygtk |
| 8 | del sys |
| 9 | |
| 10 | from gaphor import Gaphor |
Note: See TracBrowser for help on using the browser.
