Commit 54325a75 authored by Jason R. Coombs's avatar Jason R. Coombs

Rename msvc9_support to simply msvc.

parent e24dda7a
...@@ -7,6 +7,8 @@ Next ...@@ -7,6 +7,8 @@ Next
* Pull Request #174: Add more aggressive support for * Pull Request #174: Add more aggressive support for
Windows SDK in msvc9compiler patch. Windows SDK in msvc9compiler patch.
* Renamed ``setuptools.msvc9_support`` to
``setuptools.msvc``.
v21.2.0 v21.2.0
------- -------
......
...@@ -8,11 +8,11 @@ import distutils.extension ...@@ -8,11 +8,11 @@ import distutils.extension
from setuptools.extern.six.moves import map from setuptools.extern.six.moves import map
from .dist import _get_unpatched from .dist import _get_unpatched
from . import msvc9_support from . import msvc
_Extension = _get_unpatched(distutils.core.Extension) _Extension = _get_unpatched(distutils.core.Extension)
msvc9_support.patch_for_specialized_compiler() msvc.patch_for_specialized_compiler()
def _have_cython(): def _have_cython():
""" """
......
""" """
This module improve support for Microsoft Visual C++ compilers. (Windows Only) This module adds improved support for Microsoft Visual C++ compilers.
""" """
import os import os
import collections import collections
import itertools import itertools
...@@ -30,7 +31,7 @@ except ImportError: ...@@ -30,7 +31,7 @@ except ImportError:
pass pass
try: try:
# Distutil file for MSVC++ 14.0 and upper (Python 3.5) # Distutil file for MSVC++ 14.0 and upper (Python 3.5+)
import distutils._msvccompiler as msvc14compiler import distutils._msvccompiler as msvc14compiler
except ImportError: except ImportError:
pass pass
......
...@@ -69,7 +69,7 @@ class TestModulePatch: ...@@ -69,7 +69,7 @@ class TestModulePatch:
def test_patched(self): def test_patched(self):
"Test the module is actually patched" "Test the module is actually patched"
mod_name = distutils.msvc9compiler.find_vcvarsall.__module__ mod_name = distutils.msvc9compiler.find_vcvarsall.__module__
assert mod_name == "setuptools.msvc9_support", "find_vcvarsall unpatched" assert mod_name == "setuptools.msvc", "find_vcvarsall unpatched"
def test_no_registry_entryies_means_nothing_found(self): def test_no_registry_entryies_means_nothing_found(self):
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment