summaryrefslogtreecommitdiff
path: root/ccompiler.py
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2015-05-23 09:02:50 -0700
committerSteve Dower <steve.dower@microsoft.com>2015-05-23 09:02:50 -0700
commitd034a5ec7f707499139f90eb846b9e720923124c (patch)
tree5243db0e3d425b944927bef9f047c0edf5f50fbc /ccompiler.py
parent37ec45e05a5c9b6dfccbfc97caf466496b727616 (diff)
downloadpython-setuptools-git-d034a5ec7f707499139f90eb846b9e720923124c.tar.gz
Issue #23970: Adds distutils._msvccompiler for new Visual Studio versions.
Diffstat (limited to 'ccompiler.py')
-rw-r--r--ccompiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ccompiler.py b/ccompiler.py
index 911e84dd..b7df394e 100644
--- a/ccompiler.py
+++ b/ccompiler.py
@@ -959,7 +959,7 @@ def get_default_compiler(osname=None, platform=None):
# is assumed to be in the 'distutils' package.)
compiler_class = { 'unix': ('unixccompiler', 'UnixCCompiler',
"standard UNIX-style compiler"),
- 'msvc': ('msvccompiler', 'MSVCCompiler',
+ 'msvc': ('_msvccompiler', 'MSVCCompiler',
"Microsoft Visual C++"),
'cygwin': ('cygwinccompiler', 'CygwinCCompiler',
"Cygwin port of GNU C Compiler for Win32"),