view start_release.py @ 24:c88a794d9a22 traipse_dev

Too many deletes again. Tested on Linux.
author sirebral
date Sat, 25 Jul 2009 21:08:48 -0500
parents 4385a7d0efd1
children 0b79d5dbbe9e
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 + " update -C grumpy-goblin")

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

from orpg.orpg_wx import *
import orpg.main

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