Changeset 227aa1c


Ignore:
Timestamp:
Jan 21, 2017, 8:53:09 PM (4 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, sampler, yinfft+
Children:
f131ba8
Parents:
f432bb1
Message:

python/lib/moresetuptools.py: use system aubio only when version matches exactly (closes: #84)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/lib/moresetuptools.py

    rf432bb1 r227aa1c  
    157157def add_system_aubio(ext):
    158158    # use pkg-config to find aubio's location
    159     add_packages(['aubio'], ext)
     159    aubio_version = get_aubio_version()
     160    add_packages(['aubio = ' + aubio_version], ext)
    160161    if 'aubio' not in ext.libraries:
    161         print("Error: libaubio not found")
     162        print("Info: aubio " + aubio_version + " was not found by pkg-config")
     163    else:
     164        print("Info: using system aubio " + aubio_version + " found in " + ' '.join(ext.library_dirs))
    162165
    163166class CleanGenerated(distutils.command.clean.clean):
Note: See TracChangeset for help on using the changeset viewer.