History

hide AUBIO_GIT_SHA in release fix py3 syntax error

Martin Hermant committed 9 years ago

Commit 79ef3b31 parent dd3b1d52 files · +10 −9Browse files

Showing the changes to python (1 of 2 files). Show all

Unified · Split

python/lib/moresetuptools.py+3−1
@@ -31,12 +31,14 @@ def get_aubio_version(): · 30 unmodified lines
31 AUBIO_MINOR_VERSION,31 AUBIO_MINOR_VERSION,
32 AUBIO_PATCH_VERSION]))32 AUBIO_PATCH_VERSION]))
33 33
34 AUBIO_GIT_SHA = get_git_revision_hash()34
35 # append sha to version in alpha release35 # append sha to version in alpha release
36 # MAJ.MIN.PATCH.{~git<sha> , ''}36 # MAJ.MIN.PATCH.{~git<sha> , ''}
37 if '~alpha' in AUBIO_VERSION_STATUS :37 if '~alpha' in AUBIO_VERSION_STATUS :
38 AUBIO_GIT_SHA = get_git_revision_hash()
38 if AUBIO_GIT_SHA:39 if AUBIO_GIT_SHA:
39 AUBIO_VERSION_STATUS = '~git'+AUBIO_GIT_SHA40 AUBIO_VERSION_STATUS = '~git'+AUBIO_GIT_SHA
41
40 if AUBIO_VERSION_STATUS is not None :42 if AUBIO_VERSION_STATUS is not None :
41 verstr += AUBIO_VERSION_STATUS43 verstr += AUBIO_VERSION_STATUS
42 return verstr44 return verstr

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t