shithub: aubio

ref: 944c7e1e85e52cb1826716f8a0d58bca6f33d7d1
dir: /python.old/aubio/wscript_build/

View raw version
# 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')