mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-32302: Fix distutils bdist_wininst for CRT v142 (#4851)
CRT v142 is binary compatible with CRT v140.
This commit is contained in:
parent
7ea143ae79
commit
9e7c136ad8
2 changed files with 4 additions and 2 deletions
|
@ -338,8 +338,8 @@ class bdist_wininst(Command):
|
|||
bv = '14.0'
|
||||
else:
|
||||
bv = '.'.join(CRT_ASSEMBLY_VERSION.split('.', 2)[:2])
|
||||
if bv == '14.11':
|
||||
# v141 and v140 are binary compatible,
|
||||
if bv in ('14.11', '14.12'):
|
||||
# v142, v141 and v140 are binary compatible,
|
||||
# so keep using the 14.0 stub.
|
||||
bv = '14.0'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue