source: python/aubio/wscript_build @ 1a74ac3

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since 1a74ac3 was 2359cbd, checked in by Paul Brossier <piem@piem.org>, 15 years ago

wscript: factorise build of extra source files

  • Property mode set to 100644
File size: 596 bytes
Line 
1pyaubio = bld.new_task_gen(name = 'python-aubio',
2  features = 'cc cshlib pyext',
3  source = '../../swig/aubio.i',
4  add_objects = 'sndfileio',
5  target = '_aubiowrapper',
6  uselib_local = ['aubio'],
7  uselib = ['SNDFILE'],
8  swig_flags = '-python -Wall',
9  includes = '. ../../src ../../examples')
10pyaubio.install_path = '${PYTHONDIR}/${PACKAGE}'
11
12# install python files
13for file in bld.path.ant_glob('**/*.py').split():
14  bld.install_as('${PYTHONDIR}/${PACKAGE}/' + file, file)
15# install swig generated python file
16bld.install_files('${PYTHONDIR}/${PACKAGE}/', '../../swig/aubiowrapper.py')
Note: See TracBrowser for help on using the repository browser.