Mercurial > traipse_dev
annotate start_tester.py @ 48:0aeee1992423 traipse_dev
This updates fixes three things. Branch names are now current to your udpate
and updates take place before the program starts and minor error in update
code (unremarked, removed '.')
author | sirebral |
---|---|
date | Thu, 06 Aug 2009 04:26:02 -0500 |
parents | c223c1051f4a |
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!" |