diff start_tester.py @ 28:6ef4bb8ee8ca traipse_dev

Update Manager Beta 0.1 release!! This new update manager is a boon for devs and users. This is working code and nothing more, it is 'Beta'.
author sirebral
date Sat, 01 Aug 2009 14:38:19 -0500
parents
children 72f7c5904fbf
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/start_tester.py	Sat Aug 01 14:38:19 2009 -0500
@@ -0,0 +1,31 @@
+#!/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
+
+if WXLOADED:
+    import orpg.tools.updater
+    app = orpg.tools.updater.updateApp(0)
+    app.MainLoop()
+
+    mainapp = orpg.main.orpgApp(0)
+    mainapp.MainLoop()
+else:
+    print "You really really need wx!"