From 6017f9467b29f41341d9d2f11d3c82614608afcd Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 9 Jul 2012 15:36:48 -0700 Subject: [PATCH] python/aubio: update --- python/aubio/wscript_build | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/python/aubio/wscript_build b/python/aubio/wscript_build index e3bb3e5f..9fc1ddb6 100644 --- a/python/aubio/wscript_build +++ b/python/aubio/wscript_build @@ -1,5 +1,7 @@ +# vim:set syntax=python: + pyaubio = bld.new_task_gen(name = 'python-aubio', - features = 'cc cshlib pyext', + features = 'c cshlib pyext', source = '../../swig/aubio.i', add_objects = 'sndfileio', target = '_aubiowrapper', @@ -10,7 +12,6 @@ pyaubio = bld.new_task_gen(name = 'python-aubio', pyaubio.install_path = '${PYTHONDIR}/${PACKAGE}' # install python files -for file in bld.path.ant_glob('**/*.py').split(): - bld.install_as('${PYTHONDIR}/${PACKAGE}/' + file, file) +bld.install_files('${PYTHONDIR}/${PACKAGE}/', bld.path.ant_glob('**/*.py')) # install swig generated python file bld.install_files('${PYTHONDIR}/${PACKAGE}/', '../../swig/aubiowrapper.py') -- 2.26.2