bpo-31523: Reliability improvements to the Windows build files (#3900)

This commit is contained in:
Steve Dower 2017-10-05 13:35:36 -07:00 committed by GitHub
parent 36c1d1f1e5
commit 2084b30e54
5 changed files with 56 additions and 27 deletions

View file

@ -25,7 +25,7 @@ except LookupError:
sys.exit(1)
URL = "https://www.python.org/ftp/python/{}/".format(m.group(1))
REL = m.group(2) or ''
FILES = [
"core.msi",
@ -64,7 +64,7 @@ PATHS = [
"python-{}-webinstall.exe".format(m.group(0)),
"python-{}-amd64.exe".format(m.group(0)),
"python-{}-amd64-webinstall.exe".format(m.group(0)),
] + ["win32{}/{}".format(m.group(2), f) for f in FILES] + ["amd64{}/{}".format(m.group(2), f) for f in FILES]
] + ["win32{}/{}".format(REL, f) for f in FILES] + ["amd64{}/{}".format(REL, f) for f in FILES]
print('Purged:')
for n in PATHS: