comparison 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
comparison
equal deleted inserted replaced
27:a571772a45c7 28:6ef4bb8ee8ca
1 #!/usr/bin/env python
2
3 import sys
4 import os
5
6 HG = os.environ["HG"]
7
8 import pyver
9 pyver.checkPyVersion()
10
11 #os.system(HG + ' pull "http://hg.assembla.com/traipse"')
12 os.system(HG + ' pull "http://hg.assembla.com/traipse_dev"')
13 #os.system(HG + ' pull "http://hg.assembla.com/openrpg"')
14 #os.system(HG + ' pull "http://hg.assembla.com/openrpg_dev"')
15
16 for key in sys.modules.keys():
17 if 'orpg' in key:
18 del sys.modules[key]
19
20 from orpg.orpg_wx import *
21 import orpg.main
22
23 if WXLOADED:
24 import orpg.tools.updater
25 app = orpg.tools.updater.updateApp(0)
26 app.MainLoop()
27
28 mainapp = orpg.main.orpgApp(0)
29 mainapp.MainLoop()
30 else:
31 print "You really really need wx!"