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
3131 AUBIO_MINOR_VERSION,
3232 AUBIO_PATCH_VERSION]))
3333
34− AUBIO_GIT_SHA = get_git_revision_hash()
34+
3535 # append sha to version in alpha release
3636 # MAJ.MIN.PATCH.{~git<sha> , ''}
3737 if '~alpha' in AUBIO_VERSION_STATUS :
38+ AUBIO_GIT_SHA = get_git_revision_hash()
3839 if AUBIO_GIT_SHA:
3940 AUBIO_VERSION_STATUS = '~git'+AUBIO_GIT_SHA
41+
4042 if AUBIO_VERSION_STATUS is not None :
4143 verstr += AUBIO_VERSION_STATUS
4244 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