- Timestamp:
- Mar 13, 2017, 5:48:53 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:
- aab682e
- Parents:
- dd3b1d5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wscript
rdd3b1d5 r79ef3b3 34 34 if is_exe(exe_file): 35 35 return exe_file 36 37 36 return None 38 37 39 38 if not which('git'): 40 39 print('no git found on this system : can\'t get sha') … … 49 48 gitcmd.append('--short') 50 49 gitcmd.append('HEAD') 51 return s ubprocess.check_output(gitcmd).strip()52 53 AUBIO_GIT_SHA = get_git_revision_hash() 54 """append sha to version in alpha release55 """ 56 if '~alpha' in AUBIO_VERSION_STATUS : 50 return str(subprocess.check_output(gitcmd).strip()) 51 52 53 # append sha to version in alpha release 54 if AUBIO_VERSION_STATUS and '~alpha' in AUBIO_VERSION_STATUS : 55 AUBIO_GIT_SHA = get_git_revision_hash() 57 56 if AUBIO_GIT_SHA: 58 57 AUBIO_VERSION_STATUS = '~git'+AUBIO_GIT_SHA … … 180 179 ctx.define('AUBIO_PATCH_VERSION',AUBIO_PATCH_VERSION) 181 180 ctx.define('AUBIO_VERSION_STATUS',AUBIO_VERSION_STATUS) 182 ctx.define('AUBIO_GIT_SHA',AUBIO_GIT_SHA)181 # ctx.define('AUBIO_GIT_SHA',AUBIO_GIT_SHA) 183 182 if ctx.options.build_type == "debug": 184 183 ctx.define('DEBUG', 1)
Note: See TracChangeset
for help on using the changeset viewer.