diff --git a/setup.py b/setup.py index c8a1b56..0c4da30 100644 --- a/setup.py +++ b/setup.py @@ -50,7 +50,7 @@ def get_version(): p = subprocess.Popen(['git', 'describe', '--dirty', '--match=v*'], stdout=subprocess.PIPE) result = p.communicate()[0] if p.returncode == 0: - version = result.split()[0][1:] + version = str(result.split()[0][1:]) version = version.replace('-', '.') return version return '0'