diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2016-07-02 12:06:19 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-07-02 12:06:19 -0400 |
| commit | 54325a753f688285c71a6db0a062116e6dc6976c (patch) | |
| tree | d20cb21370ab85e67f4489e023aa8b1182042fe5 /setuptools | |
| parent | e24dda7accb17d74b17dc8a6e708863dd5f9e03c (diff) | |
| download | python-setuptools-git-54325a753f688285c71a6db0a062116e6dc6976c.tar.gz | |
Rename msvc9_support to simply msvc.
Diffstat (limited to 'setuptools')
| -rw-r--r-- | setuptools/extension.py | 4 | ||||
| -rw-r--r-- | setuptools/msvc.py (renamed from setuptools/msvc9_support.py) | 5 | ||||
| -rw-r--r-- | setuptools/tests/test_msvc9compiler.py | 2 |
3 files changed, 6 insertions, 5 deletions
diff --git a/setuptools/extension.py b/setuptools/extension.py index d10609b6..b9d68178 100644 --- a/setuptools/extension.py +++ b/setuptools/extension.py @@ -8,11 +8,11 @@ import distutils.extension from setuptools.extern.six.moves import map from .dist import _get_unpatched -from . import msvc9_support +from . import msvc _Extension = _get_unpatched(distutils.core.Extension) -msvc9_support.patch_for_specialized_compiler() +msvc.patch_for_specialized_compiler() def _have_cython(): """ diff --git a/setuptools/msvc9_support.py b/setuptools/msvc.py index d1ed2edc..63031ac2 100644 --- a/setuptools/msvc9_support.py +++ b/setuptools/msvc.py @@ -1,6 +1,7 @@ """ -This module improve support for Microsoft Visual C++ compilers. (Windows Only) +This module adds improved support for Microsoft Visual C++ compilers. """ + import os import collections import itertools @@ -30,7 +31,7 @@ except ImportError: pass 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 except ImportError: pass diff --git a/setuptools/tests/test_msvc9compiler.py b/setuptools/tests/test_msvc9compiler.py index 09e0460c..86475834 100644 --- a/setuptools/tests/test_msvc9compiler.py +++ b/setuptools/tests/test_msvc9compiler.py @@ -69,7 +69,7 @@ class TestModulePatch: def test_patched(self): "Test the module is actually patched" 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): """ |
