Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

BUG: setup.py: make git_version() work on Python 3

  • Loading branch information...
commit d1a184c1a112ffbaa553915c043c2b6851e4fc91 1 parent de4de92
@pv pv authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  setup.py
View
2  setup.py
@@ -77,7 +77,7 @@ def _minimal_ext_cmd(cmd):
try:
out = _minimal_ext_cmd(['git', 'rev-parse', 'HEAD'])
- GIT_REVISION = out.strip()
+ GIT_REVISION = out.strip().decode('ascii')
except OSError:
GIT_REVISION = "Unknown"
Please sign in to comment.
Something went wrong with that request. Please try again.