From 4ebd189feb0d03816fbd329bb75075327a83fa4b Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 9 Feb 2013 17:38:58 -0500 Subject: [PATCH] setup.py: get numpy includes --- interfaces/python/setup.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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']) -- 2.26.2