- Improved error reporting for missing libs.

- Moved all binaries to Bin/ (untested here as stupid thing does not work.)
This commit is contained in:
ccremers 2006-11-14 11:03:19 +00:00
parent 4cab253e7c
commit 61828765b9
5 changed files with 13 additions and 3 deletions

View File

@ -20,7 +20,7 @@ from Misc import *
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
""" Globals """ """ Globals """
bindir="." bindir="../Bin"
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------

View File

@ -22,8 +22,13 @@ except ImportError:
from elementtree import ElementTree from elementtree import ElementTree
except ImportError: except ImportError:
print """ print """
ERROR: Could not locate elementtree or cElementTree package. ERROR:
Could not locate either the [elementtree] or the [cElementTree] package.
Please install one of them in order to work with the Scyther python interface. Please install one of them in order to work with the Scyther python interface.
The [cElementTree] packages can be found at http://effbot.org/zone/celementtree.htm
Note that you can still use the Scyther binaries in the 'Bin' directory.
""" """
sys.exit(1) sys.exit(1)

View File

@ -8,9 +8,14 @@ try:
import wx import wx
except ImportError: except ImportError:
print """ print """
ERROR: Could not find the required wxPython package. ERROR:
Could not find the required [wxPython] package.
Please install this package in order to use the graphical user Please install this package in order to use the graphical user
interface of Scyther. interface of Scyther.
The [wxPython] packages can be found at http://www.wxpython.org/
Note that you can still use the Scyther binaries in the 'Bin' directory.
""" """
sys.exit(1) sys.exit(1)
import os import os