X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=wscript;h=7fabc25f827c40a90ae0b121da5ad78da79c0e13;hb=f29b074a156a0186bf3725ec33b2230facd7a870;hp=4ab8f4c8b1449dcafc665cd55c83c4abc1073b2e;hpb=8d6b4e77a5fc6ac4666c460c5c354257af23891d;p=libcxml.git diff --git a/wscript b/wscript index 4ab8f4c..7fabc25 100644 --- a/wscript +++ b/wscript @@ -24,8 +24,8 @@ from waflib import Context APPNAME = 'libcxml' -this_version = subprocess.Popen(shlex.split('git tag -l --points-at HEAD'), stdout=subprocess.PIPE).communicate()[0] -last_version = subprocess.Popen(shlex.split('git describe --tags --abbrev=0'), stdout=subprocess.PIPE).communicate()[0] +this_version = subprocess.Popen(shlex.split('git tag -l --points-at HEAD'), stdout=subprocess.PIPE).communicate()[0].decode('UTF-8') +last_version = subprocess.Popen(shlex.split('git describe --tags --abbrev=0'), stdout=subprocess.PIPE).communicate()[0].decode('UTF-8') if this_version == '': VERSION = '%sdevel' % last_version[1:].strip()