diff options
| author | khazhyk <[email protected]> | 2017-10-14 20:40:58 -0700 |
|---|---|---|
| committer | khazhyk <[email protected]> | 2017-10-14 20:41:45 -0700 |
| commit | 98a054e19ecf00327acd1fa69c06823a46c502a6 (patch) | |
| tree | 0e985e8950ff84538c776f2112ebcb8ac4c49b38 /setup.py | |
| parent | Reimplement zlib streaming. (diff) | |
| download | discord.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.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |