comparison start_tester.py @ 29:72f7c5904fbf traipse_dev

Update Manager moves into Beta 0.2 as the code is cleaned up some. The Update Manager is nearly ready to be placed into Grumpy Goblin, though it is not functioning 100%. It will provide users an opportunity to skip the update process, grab new repos, and update by choice.
author sirebral
date Sun, 02 Aug 2009 00:37:23 -0500
parents 6ef4bb8ee8ca
children 90900aa3e944
comparison
equal deleted inserted replaced
28:6ef4bb8ee8ca 29:72f7c5904fbf
7 7
8 import pyver 8 import pyver
9 pyver.checkPyVersion() 9 pyver.checkPyVersion()
10 10
11 #os.system(HG + ' pull "http://hg.assembla.com/traipse"') 11 #os.system(HG + ' pull "http://hg.assembla.com/traipse"')
12 os.system(HG + ' pull "http://hg.assembla.com/traipse_dev"') 12 #os.system(HG + ' pull "http://hg.assembla.com/traipse_dev"')
13 #os.system(HG + ' pull "http://hg.assembla.com/openrpg"') 13 #os.system(HG + ' pull "http://hg.assembla.com/openrpg"')
14 #os.system(HG + ' pull "http://hg.assembla.com/openrpg_dev"') 14 #os.system(HG + ' pull "http://hg.assembla.com/openrpg_dev"')
15 15
16 for key in sys.modules.keys(): 16 for key in sys.modules.keys():
17 if 'orpg' in key: 17 if 'orpg' in key:
18 del sys.modules[key] 18 del sys.modules[key]
19 19
20 from orpg.orpg_wx import * 20 from orpg.orpg_wx import *
21 import orpg.main 21 import orpg.main
22 import orpg.tools.updater
23 app = orpg.tools.updater.updateApp(0)
24 app.MainLoop()
22 25
26 """
23 if WXLOADED: 27 if WXLOADED:
24 import orpg.tools.updater
25 app = orpg.tools.updater.updateApp(0)
26 app.MainLoop()
27
28 mainapp = orpg.main.orpgApp(0) 28 mainapp = orpg.main.orpgApp(0)
29 mainapp.MainLoop() 29 mainapp.MainLoop()
30 else: 30 else:
31 print "You really really need wx!" 31 print "You really really need wx!"
32 """