1 # vim:set syntax=python:
3 pyaubio = bld.new_task_gen(name = 'python-aubio',
4 features = 'c cshlib pyext',
5 source = '../../swig/aubio.i',
6 add_objects = 'sndfileio',
7 target = '_aubiowrapper',
10 swig_flags = '-python -Wall',
11 includes = '. ../../src ../../examples')
12 pyaubio.install_path = '${PYTHONDIR}/${PACKAGE}'
14 # install python files
15 bld.install_files('${PYTHONDIR}/${PACKAGE}/', bld.path.ant_glob('**/*.py'))
16 # install swig generated python file
17 bld.install_files('${PYTHONDIR}/${PACKAGE}/', '../../swig/aubiowrapper.py')