ref: a4ec189f8fd69609f230d4ebfbd6a7e5e73bdfee
dir: /python.old/aubio/wscript_build/
# vim:set syntax=python:
pyaubio = ctx.new_task_gen(name = 'python-aubio',
features = 'c cshlib pyext',
source = '../../swig/aubio.i',
add_objects = 'sndfileio',
target = '_aubiowrapper',
use = ['aubio'],
uselib = ['SNDFILE'],
swig_flags = '-python -Wall',
includes = '. ../../src ../../examples')
pyaubio.install_path = '${PYTHONDIR}/${PACKAGE}'
# install python files
ctx.install_files('${PYTHONDIR}/${PACKAGE}/', ctx.path.ant_glob('**/*.py'))
# install swig generated python file
ctx.install_files('${PYTHONDIR}/${PACKAGE}/', '../../swig/aubiowrapper.py')