mirror of
https://github.com/python/cpython.git
synced 2025-08-10 11:58:39 +00:00
Backport of r66722: Use CRT 9 policy files.
This commit is contained in:
parent
a5a38c508e
commit
e15551bf38
1 changed files with 2 additions and 2 deletions
|
@ -9,10 +9,10 @@ msi = None
|
||||||
if len(sys.argv)==2:
|
if len(sys.argv)==2:
|
||||||
msi = sys.argv[1]
|
msi = sys.argv[1]
|
||||||
if Win64:
|
if Win64:
|
||||||
modules = ["Microsoft_VC90_CRT_x86_x64.msm", "policy_8_0_Microsoft_VC80_CRT_x86_x64.msm"]
|
modules = ["Microsoft_VC90_CRT_x86_x64.msm", "policy_9_0_Microsoft_VC90_CRT_x86_x64.msm"]
|
||||||
if not msi: msi = "python-%s.amd64.msi" % full_current_version
|
if not msi: msi = "python-%s.amd64.msi" % full_current_version
|
||||||
else:
|
else:
|
||||||
modules = ["Microsoft_VC90_CRT_x86.msm","policy_8_0_Microsoft_VC80_CRT_x86.msm"]
|
modules = ["Microsoft_VC90_CRT_x86.msm","policy_9_0_Microsoft_VC90_CRT_x86.msm"]
|
||||||
if not msi: msi = "python-%s.msi" % full_current_version
|
if not msi: msi = "python-%s.msi" % full_current_version
|
||||||
for i, n in enumerate(modules):
|
for i, n in enumerate(modules):
|
||||||
modules[i] = os.path.join(mod_dir, n)
|
modules[i] = os.path.join(mod_dir, n)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue