Changeset 5820107 for wscript


Ignore:
Timestamp:
Nov 17, 2011, 2:09:56 AM (9 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
ad7c710
Parents:
d7bce3c
Message:

wscript: parse VERSION from file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    rd7bce3c r5820107  
    1313
    1414APPNAME = 'aubio'
    15 VERSION = '0.3.3'
    16 LIB_VERSION = '2.1.1'
     15
     16# read from VERSION
     17for l in open('VERSION').readlines(): exec (l.strip())
     18
     19VERSION = '.'.join \
     20        ([str(x) for x in [AUBIO_MAJOR_VERSION, AUBIO_MINOR_VERSION, AUBIO_PATCH_VERSION]]) \
     21        + AUBIO_VERSION_STATUS
     22LIB_VERSION = '.'.join \
     23        ([str(x) for x in [LIBAUBIO_LT_CUR, LIBAUBIO_LT_REV, LIBAUBIO_LT_AGE]])
    1724top = '.'
    1825out = 'build'
Note: See TracChangeset for help on using the changeset viewer.