History

python/lib/moresetuptools.py: mo nore fake config.h here

Paul Brossier committed 9 years ago

Commit 671eae11 parent e0a9fd21 file · +1 −4Browse files

Showing the changes to python/lib (1 of 1 file). Show all

Unified · Split

python/lib/moresetuptools.py+1−4
@@ -55,10 +55,7 @@ def add_local_aubio_lib(ext): · 54 unmodified lines
5555
5656 def add_local_aubio_sources(ext, usedouble = False):
5757 """ build aubio inside python module instead of linking against libaubio """
58− print("Warning: libaubio was not built with waf, adding src/")
59− # create an empty header, macros will be passed on the command line
60− fake_config_header = os.path.join('python', 'ext', 'config.h')
61− distutils.file_util.write_file(fake_config_header, "")
58+ print("Info: libaubio was not installed or built locally with waf, adding src/")
6259 aubio_sources = sorted(glob.glob(os.path.join('src', '**.c')))
6360 aubio_sources += sorted(glob.glob(os.path.join('src', '*', '**.c')))
6461 ext.sources += aubio_sources

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t