diff --git a/SConstruct b/SConstruct index 9bfe80f..c3bc977 100644 --- a/SConstruct +++ b/SConstruct @@ -1,7 +1,7 @@ import os -#version info of the library -revision = svn_version = os.popen('svnversion').read()[:-1] +#version info of the library, we use 5 chars from the git hash +revision = os.popen('git describe --abbrev=5 --dirty --always').read()[:-1] version_info = { 'version_major': 1 ,