source: python/setup.py @ 25c9f9a

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

move new python module to the top

  • Property mode set to 100755
File size: 1.3 KB
Line 
1#! /usr/bin/python
2
3from distutils.core import setup, Extension
4from generator import generate_object_files
5import os.path
6import numpy
7
8library_dirs = ['../build/src', '../src/.libs']
9include_dirs = ['../build/src', '../src', '.' ]
10library_dirs = filter (lambda x: os.path.isdir(x), library_dirs)
11include_dirs = filter (lambda x: os.path.isdir(x), include_dirs)
12
13aubio_extension = Extension("_aubio",
14            ["aubiomodule.c",
15            "aubioproxy.c",
16            "py-cvec.c",
17            # example without macro
18            "py-filter.c",
19            # macroised
20            "py-filterbank.c",
21            "py-fft.c",
22            "py-phasevoc.c",
23            # generated files
24            ] + generate_object_files(),
25            include_dirs = include_dirs + [ numpy.get_include() ],
26            library_dirs = library_dirs,
27            libraries=['aubio'])
28
29setup(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])
41
Note: See TracBrowser for help on using the repository browser.