summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/_msvccompiler.py
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2018-01-18 22:09:36 (GMT)
committerGitHub <noreply@github.com>2018-01-18 22:09:36 (GMT)
commit2507e29a9e4e9dcac6eab46546bd3d34a69342ba (patch)
treeef70d7947b2af25233400e1496b349caf384a2b4 /Lib/distutils/_msvccompiler.py
parentfa7880604191f81cbdddc191216f7b1e39a74d8d (diff)
downloadcpython-2507e29a9e4e9dcac6eab46546bd3d34a69342ba.zip
cpython-2507e29a9e4e9dcac6eab46546bd3d34a69342ba.tar.gz
cpython-2507e29a9e4e9dcac6eab46546bd3d34a69342ba.tar.bz2
bpo-32588: Move _findvs into its own module and add missing _queue module to installer (#5227)
Diffstat (limited to 'Lib/distutils/_msvccompiler.py')
-rw-r--r--Lib/distutils/_msvccompiler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/_msvccompiler.py b/Lib/distutils/_msvccompiler.py
index ef1356b..c9d3c6c 100644
--- a/Lib/distutils/_msvccompiler.py
+++ b/Lib/distutils/_msvccompiler.py
@@ -56,7 +56,7 @@ def _find_vc2015():
return best_version, best_dir
def _find_vc2017():
- import _findvs
+ import _distutils_findvs
import threading
best_version = 0, # tuple for full version comparisons
@@ -66,7 +66,7 @@ def _find_vc2017():
# initialize COM.
all_packages = []
def _getall():
- all_packages.extend(_findvs.findall())
+ all_packages.extend(_distutils_findvs.findall())
t = threading.Thread(target=_getall)
t.start()
t.join()