annotate 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
rev   line source
28
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
1 #!/usr/bin/env python
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
2
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
3 import sys
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
4 import os
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
5
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
6 HG = os.environ["HG"]
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
7
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
8 import pyver
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
9 pyver.checkPyVersion()
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
10
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
11 #os.system(HG + ' pull "http://hg.assembla.com/traipse"')
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
12 os.system(HG + ' pull "http://hg.assembla.com/traipse_dev"')
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
13 #os.system(HG + ' pull "http://hg.assembla.com/openrpg"')
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
14 #os.system(HG + ' pull "http://hg.assembla.com/openrpg_dev"')
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
15
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
16 for key in sys.modules.keys():
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
17 if 'orpg' in key:
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
18 del sys.modules[key]
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
19
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
20 from orpg.orpg_wx import *
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
21 import orpg.main
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
22
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
23 if WXLOADED:
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
24 import orpg.tools.updater
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
25 app = orpg.tools.updater.updateApp(0)
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
26 app.MainLoop()
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
27
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
28 mainapp = orpg.main.orpgApp(0)
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
29 mainapp.MainLoop()
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
30 else:
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
31 print "You really really need wx!"