Mercurial > traipse_dev
annotate start_tester.py @ 30:90900aa3e944 traipse_dev
Forgot to un remark the start to main. Second Daily Build.
author | sirebral |
---|---|
date | Sun, 02 Aug 2009 00:43:34 -0500 |
parents | 72f7c5904fbf |
children | 3769c8d6431e |
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"') |
29
72f7c5904fbf
Update Manager moves into Beta 0.2 as the code is cleaned up some.
sirebral
parents:
28
diff
changeset
|
12 #os.system(HG + ' pull "http://hg.assembla.com/traipse_dev"') |
28
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 |
29
72f7c5904fbf
Update Manager moves into Beta 0.2 as the code is cleaned up some.
sirebral
parents:
28
diff
changeset
|
22 import orpg.tools.updater |
72f7c5904fbf
Update Manager moves into Beta 0.2 as the code is cleaned up some.
sirebral
parents:
28
diff
changeset
|
23 app = orpg.tools.updater.updateApp(0) |
72f7c5904fbf
Update Manager moves into Beta 0.2 as the code is cleaned up some.
sirebral
parents:
28
diff
changeset
|
24 app.MainLoop() |
28
6ef4bb8ee8ca
Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff
changeset
|
25 |
30
90900aa3e944
Forgot to un remark the start to main. Second Daily Build.
sirebral
parents:
29
diff
changeset
|
26 |
28
6ef4bb8ee8ca
Update Manager Beta 0.1 release!! This new update manager is a boon
sirebral
parents:
diff
changeset
|
27 if WXLOADED: |
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!" |