aboutsummaryrefslogtreecommitdiffstats
path: root/ext.wscript
diff options
context:
space:
mode:
Diffstat (limited to 'ext.wscript')
-rw-r--r--ext.wscript5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext.wscript b/ext.wscript
index 276bee9..842abef 100644
--- a/ext.wscript
+++ b/ext.wscript
@@ -26,11 +26,12 @@ except:
dir = sys.path[0]
m = rdflib.ConjunctiveGraph()
- m.parse(os.path.join(dir, 'manifest.ttl'), format='n3')
+
+ for i in glob.glob(os.path.join(dir, '*.ttl')):
+ m.parse(i, format='n3')
spec = m.value(None, rdf.type, lv2.Specification)
name = os.path.basename(spec.replace('http://', ''))
- m.parse(os.path.join(dir, name + '.ttl'), format='n3')
info = type('lv2extinfo', (object,), {
'NAME' : str(name),