feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 1dd137b 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 | |
---|
1 | from distutils.core import setup, Extension |
---|
2 | |
---|
3 | from os import listdir |
---|
4 | generated_files = listdir('generated') |
---|
5 | generated_files = filter(lambda x: x.endswith('.c'), generated_files) |
---|
6 | generated_files = ['generated/'+f for f in generated_files] |
---|
7 | |
---|
8 | setup(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.