From 49233a3d8db2c8016dca5f4aee8d017573914910 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20O=2E=20Sel=C3=A5sdal?= Date: Fri, 14 Dec 2012 20:09:57 +0100 Subject: [PATCH] Embed git hash for the version revision --- SConstruct | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ,