bpo-32588: Move _findvs into its own module and add missing _queue module to installer (#5227)

This commit is contained in:
Steve Dower 2018-01-19 09:09:36 +11:00 committed by GitHub
parent fa78806041
commit 2507e29a9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 132 additions and 23 deletions

View file

@ -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()