comparison start_noupdate.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
11 #os.system(HG + ' pull "http://hg.assembla.com/traipse"') 6 #Update Manager
7 from orpg.orpg_wx import *
8 import upmana.updatemana
9 app = upmana.updatemana.updateApp(0)
10 app.MainLoop()
12 11
13 for key in sys.modules.keys(): 12 #Main Program
14 if 'orpg' in key:
15 del sys.modules[key]
16
17 from orpg.orpg_wx import * 13 from orpg.orpg_wx import *
18 import orpg.main 14 import orpg.main
19 15
20 if WXLOADED: 16 if WXLOADED:
21 mainapp = orpg.main.orpgApp(0) 17 mainapp = orpg.main.orpgApp(0)