Matlab binding generation now at build time

This commit is contained in:
hbristow
2013-06-19 13:59:22 +10:00
parent 884f36ba65
commit 31415e344f
3 changed files with 24 additions and 24 deletions

View File

@@ -18,12 +18,10 @@ class MatlabWrapperGenerator(object):
# get the file name
name = os.path.splitext(os.path.basename(file))[0]
ns[name] = parser.parse(file)
print ns[name]
# cleanify the parser output
parse_tree = ParseTree()
parse_tree.build(ns)
print parse_tree
# setup the template engine
jtemplate = Environment(loader=PackageLoader('templates', ''), trim_blocks=True, lstrip_blocks=True)