Added a message at startup in case wxpython is missing completly

This commit is contained in:
HomeWorld
2011-01-14 11:53:09 +02:00
parent f40b8e50b4
commit 67b5a809bc

View File

@@ -21,8 +21,12 @@
import sys
if not hasattr(sys, 'frozen'):
import wxversion
wxversion.ensureMinimal('2.8')
try:
import wxversion
wxversion.ensureMinimal('2.8')
except:
print "Coulnd't find wxPython or the installed wxPython version doesn't meet the min. requirements.\nYou can download wxPython (2.8) from http://www.wxpython.org/"
sys.exit(1)
import config