diff options
author | David Robillard <d@drobilla.net> | 2010-10-20 19:10:10 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-10-20 19:10:10 +0000 |
commit | aa1ce5336593c9cf6ceecd39a408e9731707f9fb (patch) | |
tree | 0e7689dc9ff265355591f2027f1d9e25b2d0ff6a /lv2include | |
parent | 0a5ca10fd4450c0db04ca75e59eb5480988acbbd (diff) | |
download | lv2-aa1ce5336593c9cf6ceecd39a408e9731707f9fb.tar.xz |
More helpful error message when both Redland and RDFLib aren't found.
Diffstat (limited to 'lv2include')
-rwxr-xr-x | lv2include/lv2include.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lv2include/lv2include.py b/lv2include/lv2include.py index 3f234e2..ae0e0af 100755 --- a/lv2include/lv2include.py +++ b/lv2include/lv2include.py @@ -41,7 +41,9 @@ except: import rdflib # Attempt to import RDFLib redland = False except: - print >> sys.stderr, "Failed to import RDF (Redland) or rdflib" + print >> sys.stderr, """Failed to import `RDF' (Redland) or `rdflib'. +(Please install either package, likely `python-librdf' or `python-rdflib')""" + sys.exit(1) def rdf_namespace(uri): "Create a new RDF namespace" |