source: python/aubio/wscript_build @ d41bc4d

feature/autosinkfeature/constantqfeature/pitchshiftfeature/pydocstringsfeature/timestretchpitchshiftsamplertimestretchyinfft+
Last change on this file since d41bc4d was d41bc4d, checked in by Paul Brossier <piem@piem.org>, 8 years ago

wscript, /wscript_build: use ctx to match latest waf docs

  • Property mode set to 100644
File size: 578 bytes
Line 
1# vim:set syntax=python:
2
3pyaubio = ctx.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')
12pyaubio.install_path = '${PYTHONDIR}/${PACKAGE}'
13
14# install python files
15ctx.install_files('${PYTHONDIR}/${PACKAGE}/', ctx.path.ant_glob('**/*.py'))
16# install swig generated python file
17ctx.install_files('${PYTHONDIR}/${PACKAGE}/', '../../swig/aubiowrapper.py')
Note: See TracBrowser for help on using the repository browser.