Mercurial > traipse_dev
comparison start_release.py @ 55:0b79d5dbbe9e traipse_dev
Finalizing .. sorry Win users. I will work on the GUI later.
author | sirebral |
---|---|
date | Thu, 06 Aug 2009 17:55:27 -0500 |
parents | 4385a7d0efd1 |
children | bf799efe7a8a |
comparison
equal
deleted
inserted
replaced
54:5d89a6eaf492 | 55:0b79d5dbbe9e |
---|---|
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 | |
3 import sys | |
4 import os | |
5 | |
6 HG = os.environ["HG"] | |
7 | 2 |
8 import pyver | 3 import pyver |
9 pyver.checkPyVersion() | 4 pyver.checkPyVersion() |
10 | 5 |
6 #Update Manager | |
7 from orpg.orpg_wx import * | |
8 import upmana.updatemana | |
9 app = upmana.updatemana.updateApp(0) | |
10 app.MainLoop() | |
11 | 11 |
12 os.system(HG + ' pull "http://hg.assembla.com/traipse"') | 12 #Main Program |
13 os.system(HG + " update -C grumpy-goblin") | |
14 | |
15 for key in sys.modules.keys(): | |
16 if 'orpg' in key: | |
17 del sys.modules[key] | |
18 | |
19 from orpg.orpg_wx import * | 13 from orpg.orpg_wx import * |
20 import orpg.main | 14 import orpg.main |
21 | 15 |
22 if WXLOADED: | 16 if WXLOADED: |
23 mainapp = orpg.main.orpgApp(0) | 17 mainapp = orpg.main.orpgApp(0) |