source: python/aubio/wscript_build @ 3e17aed

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

ext/, examples/, swig/, python/, tests/: remove libaubioext, make libsamplerate optional

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