view start_server_gui.py @ 5:5a2c95067daf grumpy-goblin

This update causes the software to remove approot.py and approot.pyc These files will be created the next time you run but if they remain they may call an old directory.
author sirebral
date Wed, 15 Jul 2009 03:59:50 -0500
parents f24c6e431a15
children c7f04d3c76f5
line wrap: on
line source

#!/usr/bin/env python

import os
import sys

HG = os.environ["HG"]

import pyver
pyver.checkPyVersion()

os.system(HG + ' pull "http://hg.assembla.com/traipse"')
os.system(HG + ' update')

from orpg.orpg_wx import *

if WXLOADED:
    import orpg.networking.mplay_server_gui
    app = orpg.networking.mplay_server_gui.ServerGUIApp(0)
    app.MainLoop()