Skip to content

Commit

Permalink
Prefix sha to fix leading zeros being stripped
Browse files Browse the repository at this point in the history
/dist.py:352: UserWarning: Normalizing '1.0.0a1402+0965847' to '1.0.0a1402+965847'
  • Loading branch information
khazhyk authored and Rapptz committed Nov 21, 2017
1 parent ceb82ec commit 54ea52c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
out, err = p.communicate()
if out:
version += '+' + out.decode('utf-8').strip()
version += '+g' + out.decode('utf-8').strip()
except Exception:
pass

Expand Down

0 comments on commit 54ea52c

Please sign in to comment.