diff options
-rw-r--r-- | wscript | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -350,6 +350,13 @@ def build(bld): autowaf.use_lib(bld, obj, 'SERD SORD SRATOM LV2') if bld.is_defined('LILV_PYTHON'): + # Copy Python bindings to build directory + bld(features = 'subst', + is_copy = True, + source = 'bindings/python/lilv.py', + target = 'lilv.py', + install_path = '${PYTHONDIR}') + # Copy Python unittest files for i in [ 'test_api.py' ]: bld(features = 'subst', @@ -410,10 +417,6 @@ def build(bld): bld.install_as( '${SYSCONFDIR}/bash_completion.d/lilv', 'utils/lilv.bash_completion') - if bld.is_defined('LILV_PYTHON'): - # Python Wrapper - bld.install_files('${PYTHONDIR}', 'bindings/python/lilv.py') - bld.add_post_fun(autowaf.run_ldconfig) if bld.env.DOCS: bld.add_post_fun(fix_docs) |