annotate start_tester.py @ 75:f518bc709fd1 ornery-dev

Continuing refinement and clean-up. Nearly done.
author sirebral
date Fri, 21 Aug 2009 21:49:42 -0500
parents 0aeee1992423
children
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
48
0aeee1992423 This updates fixes three things. Branch names are now current to your udpate
sirebral
parents: 32
diff changeset
11 from orpg.orpg_wx import *
0aeee1992423 This updates fixes three things. Branch names are now current to your udpate
sirebral
parents: 32
diff changeset
12 import upmana.updatemana
0aeee1992423 This updates fixes three things. Branch names are now current to your udpate
sirebral
parents: 32
diff changeset
13 app = upmana.updatemana.updateApp(0)
0aeee1992423 This updates fixes three things. Branch names are now current to your udpate
sirebral
parents: 32
diff changeset
14 app.MainLoop()
28
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
15 for key in sys.modules.keys():
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
16 if 'orpg' in key:
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
17 del sys.modules[key]
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
18
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
19 from orpg.orpg_wx import *
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
20 import orpg.main
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
21
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
22 if WXLOADED:
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
23 mainapp = orpg.main.orpgApp(0)
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
24 mainapp.MainLoop()
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
25 else:
6ef4bb8ee8ca Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff changeset
26 print "You really really need wx!"