source: python/aubio/wscript_build @ b8aaaff

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since b8aaaff 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
RevLine 
[000b090]1pyaubio = bld.new_task_gen(name = 'python-aubio',
2  features = 'cc cshlib pyext',
3  source = '../../swig/aubio.i',
[740f06b]4  add_objects = 'sndfileio',
[000b090]5  target = '_aubiowrapper',
[740f06b]6  uselib_local = ['aubio'],
7  uselib = ['SNDFILE'],
[000b090]8  swig_flags = '-python -Wall',
[740f06b]9  includes = '. ../../src ../../examples')
[000b090]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.