view start_tester.py @ 29:72f7c5904fbf traipse_dev

Update Manager moves into Beta 0.2 as the code is cleaned up some. The Update Manager is nearly ready to be placed into Grumpy Goblin, though it is not functioning 100%. It will provide users an opportunity to skip the update process, grab new repos, and update by choice.
author sirebral
date Sun, 02 Aug 2009 00:37:23 -0500
parents 6ef4bb8ee8ca
children 90900aa3e944
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!"
"""