source: interfaces/python/setup.py @ 96fe713

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

interfaces/python/setup.py: only compile c files

  • Property mode set to 100644
File size: 787 bytes
Line 
1from distutils.core import setup, Extension
2
3from os import listdir
4generated_files = listdir('generated')
5generated_files = filter(lambda x: x.endswith('.c'), generated_files)
6generated_files = ['generated/'+f for f in generated_files]
7
8setup(name="_aubio", version="1.0",
9      ext_modules = [ 
10        Extension("_aubio",
11            ["aubiomodule.c",
12            "py-fvec.c",
13            "py-cvec.c",
14            "py-filter.c",
15            # macroised
16            "py-filterbank.c",
17            "py-fft.c",
18            "py-phasevoc.c",
19            # generated files
20            ] + generated_files,
21            include_dirs=['../../build/default/src', '../../src', '.' ],
22            library_dirs=['../../build/default/src', '../../src/.libs' ],
23            libraries=['aubio'])])
24
Note: See TracBrowser for help on using the repository browser.