mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
bpo-32588: Move _findvs into its own module and add missing _queue module to installer (#5227)
This commit is contained in:
parent
fa78806041
commit
2507e29a9e
11 changed files with 132 additions and 23 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue