diff options
| author | Steve Dower <steve.dower@python.org> | 2019-09-10 14:52:23 +0100 |
|---|---|---|
| committer | Zachary Ware <zachary.ware@gmail.com> | 2019-09-10 14:52:23 +0100 |
| commit | 5ffd6d26a7806d8b8cc0aad93e50cc63bae294a1 (patch) | |
| tree | 421c1acb5ee5256405ca1627943a212305ad12bb | |
| parent | cd848cbc425ba0735e0987040f201de0b13f0486 (diff) | |
| download | external_python_setuptools-5ffd6d26a7806d8b8cc0aad93e50cc63bae294a1.tar.gz external_python_setuptools-5ffd6d26a7806d8b8cc0aad93e50cc63bae294a1.tar.bz2 external_python_setuptools-5ffd6d26a7806d8b8cc0aad93e50cc63bae294a1.zip | |
bpo-38088: Fixes distutils not finding vcruntime140.dll with only v142 toolset installed (GH-15849)
| -rw-r--r-- | _msvccompiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_msvccompiler.py b/_msvccompiler.py index 6e14f330..e8e4b717 100644 --- a/_msvccompiler.py +++ b/_msvccompiler.py @@ -107,7 +107,7 @@ def _find_vcvarsall(plat_spec): if best_dir: vcredist = os.path.join(best_dir, "..", "..", "redist", "MSVC", "**", - vcruntime_plat, "Microsoft.VC141.CRT", "vcruntime140.dll") + vcruntime_plat, "Microsoft.VC14*.CRT", "vcruntime140.dll") try: import glob vcruntime = glob.glob(vcredist, recursive=True)[-1] |
