aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorkhazhyk <[email protected]>2017-10-14 20:40:58 -0700
committerkhazhyk <[email protected]>2017-10-14 20:41:45 -0700
commit98a054e19ecf00327acd1fa69c06823a46c502a6 (patch)
tree0e985e8950ff84538c776f2112ebcb8ac4c49b38 /setup.py
parentReimplement zlib streaming. (diff)
downloaddiscord.py-98a054e19ecf00327acd1fa69c06823a46c502a6.tar.xz
discord.py-98a054e19ecf00327acd1fa69c06823a46c502a6.zip
Use local version identifer for SHA
local version identifier seems to be the only PEP440 way to add arbitrary string to the version. Makes pip stop complaining about invalid version label.
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 3441ff27..0d132b13 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 += '+' + out.decode('utf-8').strip()
except Exception:
pass