From: Paul Brossier Date: Sat, 9 Feb 2013 22:38:58 +0000 (-0500) Subject: setup.py: get numpy includes X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4ebd189feb0d03816fbd329bb75075327a83fa4b;p=aubio.git setup.py: get numpy includes --- diff --git a/interfaces/python/setup.py b/interfaces/python/setup.py index c87b3396..ef05441d 100755 --- a/interfaces/python/setup.py +++ b/interfaces/python/setup.py @@ -1,10 +1,9 @@ #! /usr/bin/python from distutils.core import setup, Extension - from generator import generate_object_files - import os.path +import numpy library_dirs = ['../../build/src', '../../src/.libs'] include_dirs = ['../../build/src', '../../src', '.' ] @@ -23,7 +22,7 @@ aubio_extension = Extension("_aubio", "py-phasevoc.c", # generated files ] + generate_object_files(), - include_dirs = include_dirs, + include_dirs = include_dirs + [ numpy.get_include() ], library_dirs = library_dirs, libraries=['aubio'])