aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorkhazhyk <[email protected]>2017-11-18 23:56:01 -0800
committerRapptz <[email protected]>2017-11-21 17:54:55 -0500
commit54ea52c86fee52a4b8f1f13b15438a082610d636 (patch)
treed6b49ba17d4060f18f1d7f0e1636ded683e19423 /setup.py
parentFix self._process not existing during cleanup() in case of error (diff)
downloaddiscord.py-54ea52c86fee52a4b8f1f13b15438a082610d636.tar.xz
discord.py-54ea52c86fee52a4b8f1f13b15438a082610d636.zip
Prefix sha to fix leading zeros being stripped
/dist.py:352: UserWarning: Normalizing '1.0.0a1402+0965847' to '1.0.0a1402+965847'
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 0d132b13..0b4f1601 100644
--- a/setup.py
+++ b/setup.py
@@ -32,7 +32,7 @@ if version.endswith(('a', 'b', 'rc')):
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