mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
bpo-40443: Remove unused imports in distutils (GH-19802)
This commit is contained in:
parent
90549676e0
commit
e488e300f5
11 changed files with 6 additions and 17 deletions
|
|
@ -14,8 +14,6 @@ for older versions in distutils.msvc9compiler and distutils.msvccompiler.
|
|||
# ported to VS 2015 by Steve Dower
|
||||
|
||||
import os
|
||||
import shutil
|
||||
import stat
|
||||
import subprocess
|
||||
import winreg
|
||||
|
||||
|
|
@ -65,8 +63,6 @@ def _find_vc2017():
|
|||
If vswhere.exe is not available, by definition, VS 2017 is not
|
||||
installed.
|
||||
"""
|
||||
import json
|
||||
|
||||
root = os.environ.get("ProgramFiles(x86)") or os.environ.get("ProgramFiles")
|
||||
if not root:
|
||||
return None, None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue