From: Paul Brossier Date: Sun, 11 Dec 2016 23:16:15 +0000 (+0100) Subject: python/lib/moresetuptools.py: mo nore fake config.h here X-Git-Tag: 0.4.4~59 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=671eae152ff0396202bcba234303b8070f4de3ad;p=aubio.git python/lib/moresetuptools.py: mo nore fake config.h here --- 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