From 81b5f5a305f1aa59d4117b44689e0d6e961e1d98 Mon Sep 17 00:00:00 2001
From: Kevin Lyda <kevin@ie.suberic.net>
Date: Wed, 4 Jan 2017 18:48:23 +0000
Subject: [PATCH] Fun with python, bytes and utf8.

---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 9b55e17..0d5b010 100755
--- a/setup.py
+++ b/setup.py
@@ -29,7 +29,7 @@ from distutils.core import Command
 
 BASE_DIR = os.path.dirname(globals().get('__file__', os.getcwd()))
 VERSION = subprocess.check_output(
-    ['git', 'describe', '--dirty=*', '--always']).strip()
+    ['git', 'describe', '--dirty=*', '--always']).strip().decode('utf8')
 open('_version.py', 'w').write('__version__ = "%s"\n' % VERSION)
 
 class TestCmd(Command):
-- 
GitLab