Mercurial > traipse_dev
view start_tester.py @ 70:52a5fa913008 ornery-dev
Update Manager: Started working on the control panel. Right now the GUI is the hardest part. If you look through the code you will see that I can already obtain revision numbers.
author | sirebral |
---|---|
date | Tue, 18 Aug 2009 20:48:36 -0500 |
parents | 0aeee1992423 |
children |
line wrap: on
line source
#!/usr/bin/env python import sys import os HG = os.environ["HG"] import pyver pyver.checkPyVersion() from orpg.orpg_wx import * import upmana.updatemana app = upmana.updatemana.updateApp(0) app.MainLoop() for key in sys.modules.keys(): if 'orpg' in key: del sys.modules[key] from orpg.orpg_wx import * import orpg.main if WXLOADED: mainapp = orpg.main.orpgApp(0) mainapp.MainLoop() else: print "You really really need wx!"