diff --git a/setup.py b/setup.py index bf179d0..45ec698 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,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'