view start_tester.py @ 31:3769c8d6431e traipse_dev

And then I overwrite my edits. Mostly I cleaned up, only lost some small notes.
author sirebral
date Sun, 02 Aug 2009 01:00:33 -0500
parents 90900aa3e944
children c223c1051f4a
line wrap: on
line source

#!/usr/bin/env python

import sys
import os

HG = os.environ["HG"]

import pyver
pyver.checkPyVersion()

os.system(HG + ' pull "http://hg.assembla.com/traipse"')
os.system(HG + ' pull "http://hg.assembla.com/traipse_dev"')
#os.system(HG + ' pull "http://hg.assembla.com/openrpg"')
#os.system(HG + ' pull "http://hg.assembla.com/openrpg_dev"')

for key in sys.modules.keys():
    if 'orpg' in key:
        del sys.modules[key]

from orpg.orpg_wx import *
import orpg.main
import orpg.tools.updater
app = orpg.tools.updater.updateApp(0)
app.MainLoop()


if WXLOADED:
    mainapp = orpg.main.orpgApp(0)
    mainapp.MainLoop()
else:
    print "You really really need wx!"