Changeset c6c20be for this_version.py
- Timestamp:
- Mar 23, 2017, 3:44:49 PM (8 years ago)
- 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
- Children:
- 69de807
- Parents:
- 07bfe2d2
- git-author:
- Martin Hermant <martin.hermant@gmail.com> (03/16/17 18:47:26)
- git-committer:
- Paul Brossier <piem@piem.org> (03/23/17 15:44:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
this_version.py
r07bfe2d2 rc6c20be 67 67 68 68 def get_aubio_version(add_status=True): 69 # return string formatted as MAJ.MIN.PATCH .{~git<sha> , ''}69 # return string formatted as MAJ.MIN.PATCH{~git<sha> , ''} 70 70 vdict = get_version_info() 71 71 verstr = '%s.%s.%s' % get_aubio_version_tuple() 72 72 if add_status and vdict['AUBIO_VERSION_STATUS']: 73 verstr += "." +vdict['AUBIO_VERSION_STATUS']73 verstr += vdict['AUBIO_VERSION_STATUS'] 74 74 return verstr 75 75 … … 84 84 if '~git' in vdict['AUBIO_VERSION_STATUS']: 85 85 verstr += "+a0." + vdict['AUBIO_VERSION_STATUS'][1:] 86 elif '~alpha' :86 elif '~alpha' in vdict['AUBIO_VERSION_STATUS']: 87 87 verstr += "+a0" 88 88 else:
Note: See TracChangeset
for help on using the changeset viewer.