Changeset 416ddd1


Ignore:
Timestamp:
May 16, 2016, 1:55:14 AM (9 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:
4120fbc
Parents:
f5a0e82
Message:

setup.py: clean up, remove ~

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    rf5a0e82 r416ddd1  
    99# read from VERSION
    1010for l in open('VERSION').readlines(): exec (l.strip())
    11 __version__ = '.'.join \
    12         ([str(x) for x in [AUBIO_MAJOR_VERSION, AUBIO_MINOR_VERSION, AUBIO_PATCH_VERSION]]) \
    13         + AUBIO_VERSION_STATUS
     11
     12if AUBIO_MAJOR_VERSION is None or AUBIO_MINOR_VERSION is None \
     13        or AUBIO_PATCH_VERSION is None:
     14    raise SystemError("Failed parsing VERSION file.")
     15
     16__version__ = '.'.join(map(str, [AUBIO_MAJOR_VERSION,
     17                                 AUBIO_MINOR_VERSION,
     18                                 AUBIO_PATCH_VERSION]))
     19if AUBIO_VERSION_STATUS is not None:
     20    if AUBIO_VERSION_STATUS.startswith('~'):
     21        AUBIO_VERSION_STATUS = AUBIO_VERSION_STATUS[1:]
     22    __version__ += AUBIO_VERSION_STATUS
    1423
    1524include_dirs = []
Note: See TracChangeset for help on using the changeset viewer.