aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-10-20 19:10:10 +0000
committerDavid Robillard <d@drobilla.net>2010-10-20 19:10:10 +0000
commitaa1ce5336593c9cf6ceecd39a408e9731707f9fb (patch)
tree0e7689dc9ff265355591f2027f1d9e25b2d0ff6a
parent0a5ca10fd4450c0db04ca75e59eb5480988acbbd (diff)
downloadlv2-aa1ce5336593c9cf6ceecd39a408e9731707f9fb.tar.xz
More helpful error message when both Redland and RDFLib aren't found.
-rwxr-xr-xlv2include/lv2include.py4
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"