Changeset 87a4a5a
- Timestamp:
- Mar 23, 2017, 6:03:22 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:
- bef7726
- Parents:
- 7b9b6ba
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
this_version.py
r7b9b6ba r87a4a5a 77 77 # convert to version for python according to pep 440 78 78 # see https://www.python.org/dev/peps/pep-0440/ 79 # outputs MAJ.MIN.PATCH +a0{.git<sha> , ''}79 # outputs MAJ.MIN.PATCH[a0[+git.<sha>[.mods]]] 80 80 vdict = get_version_info() 81 81 verstr = '%s.%s.%s' % get_aubio_version_tuple() 82 82 if add_status and vdict['AUBIO_VERSION_STATUS']: 83 if '~git' in vdict['AUBIO_VERSION_STATUS']: 84 verstr += "+a0." + vdict['AUBIO_VERSION_STATUS'][1:] 83 if vdict['AUBIO_VERSION_STATUS'].startswith('~git+'): 84 pep440str = vdict['AUBIO_VERSION_STATUS'].replace('+', '.') 85 verstr += pep440str.replace('~git.', 'a0+') 85 86 elif '~alpha' in vdict['AUBIO_VERSION_STATUS']: 86 verstr += " +a0"87 verstr += "a0" 87 88 else: 88 89 raise SystemError("Aubio version statut not supported : %s" %
Note: See TracChangeset
for help on using the changeset viewer.