ref: 2d1d5ce6adc1ba219606845700c0522f77ee9ac0
dir: /interfaces/python/setup.py/
from distutils.core import setup, Extension from os import listdir generated_files = listdir('generated') generated_files = ['generated/'+f for f in generated_files] setup(name="_aubio", version="1.0", ext_modules = [ Extension("_aubio", ["aubiomodule.c", "py-fvec.c", "py-cvec.c", "py-filter.c", # macroised "py-filterbank.c", "py-fft.c", "py-phasevoc.c", # generated files ] + generated_files, include_dirs=['../../build/default/src', '../../src', '.' ], library_dirs=['../../build/default/src', '../../src/.libs' ], libraries=['aubio'])])