Mercurial > moin-2.0
changeset 2078:db0280d02218 gae
merged
| author | Thomas Waldmann <tw AT waldmann-edv DOT de> |
|---|---|
| date | Thu, 04 Apr 2013 12:47:01 +0200 |
| parents | b2d19e60175a (current diff) 84d37bbfddfa (diff) |
| children | |
| files | |
| diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/moin.py Tue Apr 02 00:19:43 2013 +0200 +++ b/moin.py Thu Apr 04 12:47:01 2013 +0200 @@ -15,7 +15,12 @@ support_path = os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'support')) if support_path not in sys.path: sys.path.insert(0, support_path) - + try: + import flask + import jinja2 + import whoosh + except ImportError: + raise Exception("No support directory found. You need a directory containing all the dependencies to run moin at {0}.".format(support_path)) add_support_to_path()
