Changeset 012b324
- Timestamp:
- Jul 11, 2012, 10:10:41 PM (13 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- 4afa448e
- Parents:
- b84c0c2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
interfaces/python/setup.py
rb84c0c2 r012b324 4 4 5 5 from generator import generate_object_files 6 7 import os.path 8 9 library_dirs = ['../../build/src', '../../src/.libs'] 10 include_dirs = ['../../build/src', '../../src', '.' ] 11 library_dirs = filter (lambda x: os.path.isdir(x), library_dirs) 12 include_dirs = filter (lambda x: os.path.isdir(x), include_dirs) 13 14 aubio_extension = Extension("_aubio", 15 ["aubiomodule.c", 16 "aubioproxy.c", 17 "py-cvec.c", 18 # example without macro 19 "py-filter.c", 20 # macroised 21 "py-filterbank.c", 22 "py-fft.c", 23 "py-phasevoc.c", 24 # generated files 25 ] + generate_object_files(), 26 include_dirs = include_dirs, 27 library_dirs = library_dirs, 28 libraries=['aubio']) 6 29 7 30 setup(name='aubio', … … 16 39 maintainer_email = 'piem@aubio.org', 17 40 url = 'http://aubio.org/', 18 ext_modules = [ 19 Extension("_aubio", 20 ["aubiomodule.c", 21 "aubioproxy.c", 22 "py-cvec.c", 23 # example without macro 24 "py-filter.c", 25 # macroised 26 "py-filterbank.c", 27 "py-fft.c", 28 "py-phasevoc.c", 29 # generated files 30 ] + generate_object_files(), 31 include_dirs=['../../build/src', '../../src', '.' ], 32 library_dirs=['../../build/src', '../../src/.libs' ], 33 libraries=['aubio'])]) 41 ext_modules = [aubio_extension]) 34 42
Note: See TracChangeset
for help on using the changeset viewer.