From 1dec2858e58a0c1aa5400762c5da79a0a4062b2d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 8 Jun 2013 00:16:03 +0000 Subject: Fix building with Python 3.3 (#910). git-svn-id: http://svn.drobilla.net/lad/trunk/plugins/blop.lv2@5121 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index fce3c2e..4f0a104 100644 --- a/wscript +++ b/wscript @@ -65,16 +65,11 @@ def build_plugin(bld, lang, bundle, name, source, defines=None): bld.install_files('${LV2DIR}/' + bundle, os.path.join(bundle, data_file)) def build(bld): - # Copy data files to build bundle (build/blop.lv2) - def do_copy(task): - src = task.inputs[0].abspath() - tgt = task.outputs[0].abspath() - return shutil.copy(src, tgt) - for i in bld.path.ant_glob('blop.lv2/*.ttl'): - bld(rule = do_copy, - source = i, - target = bld.path.get_bld().make_node('blop.lv2/%s' % i), + bld(features = 'subst', + is_copy = True, + source = i, + target = bld.path.get_bld().make_node('blop.lv2/%s' % i), install_path = '${LV2DIR}/blop.lv2') bld(features = 'subst', -- cgit v1.2.1