Mercurial > traipse_dev
view start_tester.py @ 28:6ef4bb8ee8ca traipse_dev
Update Manager Beta 0.1 release!! This new update manager is a boon
for devs and users. This is working code and nothing more, it is 'Beta'.
author | sirebral |
---|---|
date | Sat, 01 Aug 2009 14:38:19 -0500 |
parents | |
children | 72f7c5904fbf |
line wrap: on
line source
#!/usr/bin/env python import sys import os HG = os.environ["HG"] import pyver pyver.checkPyVersion() #os.system(HG + ' pull "http://hg.assembla.com/traipse"') os.system(HG + ' pull "http://hg.assembla.com/traipse_dev"') #os.system(HG + ' pull "http://hg.assembla.com/openrpg"') #os.system(HG + ' pull "http://hg.assembla.com/openrpg_dev"') for key in sys.modules.keys(): if 'orpg' in key: del sys.modules[key] from orpg.orpg_wx import * import orpg.main if WXLOADED: import orpg.tools.updater app = orpg.tools.updater.updateApp(0) app.MainLoop() mainapp = orpg.main.orpgApp(0) mainapp.MainLoop() else: print "You really really need wx!"