view start_tester.py @ 34:8b630fc8a343 traipse_dev

Updated the Update Manager to 0.3. Settings are being created with a clone of the PulginDB. Repos can be added, GUI does not update, Repo list needs a scrollbar. Repo tab buttons will not work except for New.
author sirebral
date Mon, 03 Aug 2009 11:56:17 -0500
parents c223c1051f4a
children 0aeee1992423
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 upmana.updatemana
app = upmana.updatemana.updateApp(0)
app.MainLoop()

import orpg.main


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