From: Paul Brossier Date: Mon, 9 Jul 2012 22:36:48 +0000 (-0700) Subject: python/aubio: update X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6017f9467b29f41341d9d2f11d3c82614608afcd;p=aubio.git python/aubio: update --- 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')