From 671eae152ff0396202bcba234303b8070f4de3ad Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 12 Dec 2016 00:16:15 +0100 Subject: [PATCH] python/lib/moresetuptools.py: mo nore fake config.h here --- python/lib/moresetuptools.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/python/lib/moresetuptools.py b/python/lib/moresetuptools.py index d3567f96..9765f5c8 100644 --- a/python/lib/moresetuptools.py +++ b/python/lib/moresetuptools.py @@ -55,10 +55,7 @@ def add_local_aubio_lib(ext): def add_local_aubio_sources(ext, usedouble = False): """ build aubio inside python module instead of linking against libaubio """ - print("Warning: libaubio was not built with waf, adding src/") - # create an empty header, macros will be passed on the command line - fake_config_header = os.path.join('python', 'ext', 'config.h') - distutils.file_util.write_file(fake_config_header, "") + print("Info: libaubio was not installed or built locally with waf, adding src/") aubio_sources = sorted(glob.glob(os.path.join('src', '**.c'))) aubio_sources += sorted(glob.glob(os.path.join('src', '*', '**.c'))) ext.sources += aubio_sources -- 2.11.0