feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 927f630 was
25c9f9a,
checked in by Paul Brossier <piem@piem.org>, 12 years ago
|
move new python module to the top
|
-
Property mode set to
100755
|
File size:
1.3 KB
|
Rev | Line | |
---|
[c71e405] | 1 | #! /usr/bin/python |
---|
| 2 | |
---|
[0a6c211] | 3 | from distutils.core import setup, Extension |
---|
[c71e405] | 4 | from generator import generate_object_files |
---|
[012b324] | 5 | import os.path |
---|
[4ebd189] | 6 | import numpy |
---|
[012b324] | 7 | |
---|
[25c9f9a] | 8 | library_dirs = ['../build/src', '../src/.libs'] |
---|
| 9 | include_dirs = ['../build/src', '../src', '.' ] |
---|
[012b324] | 10 | library_dirs = filter (lambda x: os.path.isdir(x), library_dirs) |
---|
| 11 | include_dirs = filter (lambda x: os.path.isdir(x), include_dirs) |
---|
| 12 | |
---|
| 13 | aubio_extension = Extension("_aubio", |
---|
[615ac7d] | 14 | ["aubiomodule.c", |
---|
[b3130e2] | 15 | "aubioproxy.c", |
---|
[615ac7d] | 16 | "py-cvec.c", |
---|
[b3130e2] | 17 | # example without macro |
---|
[615ac7d] | 18 | "py-filter.c", |
---|
[b3130e2] | 19 | # macroised |
---|
[615ac7d] | 20 | "py-filterbank.c", |
---|
| 21 | "py-fft.c", |
---|
| 22 | "py-phasevoc.c", |
---|
| 23 | # generated files |
---|
[c71e405] | 24 | ] + generate_object_files(), |
---|
[4ebd189] | 25 | include_dirs = include_dirs + [ numpy.get_include() ], |
---|
[012b324] | 26 | library_dirs = library_dirs, |
---|
| 27 | libraries=['aubio']) |
---|
| 28 | |
---|
| 29 | setup(name='aubio', |
---|
| 30 | version = '0.4.0alpha', |
---|
| 31 | packages = ['aubio'], |
---|
| 32 | description = 'interface to the aubio library', |
---|
| 33 | long_description = 'interface to the aubio library', |
---|
| 34 | license = 'GNU/GPL version 3', |
---|
| 35 | author = 'Paul Brossier', |
---|
| 36 | author_email = 'piem@aubio.org', |
---|
| 37 | maintainer = 'Paul Brossier', |
---|
| 38 | maintainer_email = 'piem@aubio.org', |
---|
| 39 | url = 'http://aubio.org/', |
---|
| 40 | ext_modules = [aubio_extension]) |
---|
[0a6c211] | 41 | |
---|
Note: See
TracBrowser
for help on using the repository browser.