python/aubio: update
[aubio.git] / python / aubio / wscript_build
1 # vim:set syntax=python:
2
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',
8   use = ['aubio'],
9   uselib = ['SNDFILE'],
10   swig_flags = '-python -Wall',
11   includes = '. ../../src ../../examples')
12 pyaubio.install_path = '${PYTHONDIR}/${PACKAGE}'
13
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')