]> granicus.if.org Git - python/commitdiff
bpo-38343: Fixes version handling for nuget packages (GH-16527)
authorSteve Dower <steve.dower@python.org>
Tue, 1 Oct 2019 23:42:24 +0000 (16:42 -0700)
committerGitHub <noreply@github.com>
Tue, 1 Oct 2019 23:42:24 +0000 (16:42 -0700)
PC/layout/support/constants.py

index 88ea410b340ea53cee745866364463a0cb7a2950..d76fa3bbf3b476b16d2120563711395771bf9c5a 100644 (file)
@@ -10,7 +10,7 @@ import sys
 
 VER_MAJOR, VER_MINOR, VER_MICRO, VER_FIELD4 = struct.pack(">i", sys.hexversion)
 VER_FIELD3 = VER_MICRO << 8 | VER_FIELD4
-VER_NAME = {"alpha": "a", "beta": "b", "rc": "rc"}.get(
+VER_NAME = {"alpha": "a", "beta": "b", "candidate": "rc"}.get(
     sys.version_info.releaselevel, ""
 )
 VER_SERIAL = sys.version_info.serial if VER_NAME else ""