shithub: aubio

Download patch

ref: 6017f9467b29f41341d9d2f11d3c82614608afcd
parent: d62c32f0b49643115db1e823ed3cbf47ef1aa1d0
author: Paul Brossier <piem@piem.org>
date: Mon Jul 9 11:36:48 EDT 2012

python/aubio: update

--- 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.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')