summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-05-22 13:29:58 -0400
committerJason R. Coombs <jaraco@jaraco.com>2016-05-22 13:29:58 -0400
commit6e11e32e4ac8afc30bf3a85d8e583ba55b1a1848 (patch)
treebc45b9cc503d84f16bf377abb5f3ba7c3f730ae3
parentcfb487081ef7277b8788b1a715111c8fe0a3aa1f (diff)
downloadpython-setuptools-git-6e11e32e4ac8afc30bf3a85d8e583ba55b1a1848.tar.gz
Remove extra redundant work. Patch the module so behavior is the same on Unix systems even if not invoked. Tests still pass on Linux due to import protections.
-rw-r--r--setuptools/msvc9_support.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/setuptools/msvc9_support.py b/setuptools/msvc9_support.py
index 8cfba11e..d1f1a7a0 100644
--- a/setuptools/msvc9_support.py
+++ b/setuptools/msvc9_support.py
@@ -4,7 +4,6 @@ This module improve support for Microsoft Visual C++ compilers. (Windows Only)
import os
import collections
import itertools
-import platform
import distutils.errors
from setuptools.extern.six.moves import filterfalse
@@ -58,10 +57,6 @@ def patch_for_specialized_compiler():
Microsoft Visual C++ 14.0:
Microsoft Visual C++ Build Tools 2015 (x86, x64, arm)
"""
- if platform.system() != 'Windows':
- # Don't need to patch if not on Windows
- return
-
if 'distutils' not in globals():
# The module isn't available to be patched
return