source: interfaces/python/setup.py @ bb7a42a

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/applefworksfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since bb7a42a was 466a5da, checked in by Paul Brossier <piem@piem.org>, 13 years ago

interfaces/python/setup.py: install in dist-packages, thanks to Stelios Togias

  • Property mode set to 100644
File size: 837 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      packages = ['aubio'],
10      ext_modules = [ 
11        Extension("_aubio",
12            ["aubiomodule.c",
13            "aubioproxy.c",
14            "py-cvec.c",
15            # example without macro
16            "py-filter.c",
17            # macroised
18            "py-filterbank.c",
19            "py-fft.c",
20            "py-phasevoc.c",
21            # generated files
22            ] + generated_files,
23            include_dirs=['../../build/src', '../../src', '.' ],
24            library_dirs=['../../build/src', '../../src/.libs' ],
25            libraries=['aubio'])])
26
Note: See TracBrowser for help on using the repository browser.