Embed git hash for the version revision

This commit is contained in:
Nils O. Selåsdal
2012-12-14 20:09:57 +01:00
parent 993fad0076
commit 49233a3d8d
+2 -2
View File
@@ -1,7 +1,7 @@
import os import os
#version info of the library #version info of the library, we use 5 chars from the git hash
revision = svn_version = os.popen('svnversion').read()[:-1] revision = os.popen('git describe --abbrev=5 --dirty --always').read()[:-1]
version_info = { version_info = {
'version_major': 1 , 'version_major': 1 ,