view 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
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!"