Changeset 883b499


Ignore:
Timestamp:
Dec 17, 2016, 12:19:20 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, sampler, yinfft+
Children:
c470ad0
Parents:
911bea80
Message:

python/ext/aubiomodule.c: add aubio._aubio.version, import as aubio.version

Location:
python
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/ext/aubiomodule.c

    r911bea80 r883b499  
    324324
    325325  PyModule_AddStringConstant(m, "float_type", AUBIO_NPY_SMPL_STR);
     326  PyModule_AddStringConstant(m, "__version__", AUBIO_VERSION);
    326327
    327328  // add generated objects
  • python/lib/aubio/__init__.py

    r911bea80 r883b499  
    22
    33import numpy
     4from ._aubio import __version__ as version
     5from ._aubio import float_type
    46from ._aubio import *
    5 from ._aubio import float_type
    67from .midiconv import *
    78from .slicing import *
Note: See TracChangeset for help on using the changeset viewer.