Timestamp:
May 14, 2016, 9:45:03 PM (8 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
6e8b8f4
Parents:
283bb90
Message:

setup.py: clean-up, add option to build libaubio inside python-aubio

The setup script now attempts to build the _aubio extension as follows:

  • if src/aubio.h is found, use it to generate python/gen/ files
  • if build/src/ is found, use it to link python-aubio against libaubio
  • otherwise:
    • add all libaubio source (src/*) to the python module sources
    • look for optional dependencies using pkg-config
    • set flags accordingly
  • otherwise, look for aubio headers and libraries using pkg-config

This should help building the python module in a virtualenv (#2),
on windows (#55), and allow installing aubio directly with pip.

(No files)

Note: See TracChangeset for help on using the changeset viewer.