From c12e784cce4104244353e18e73dedbb588061de7 Mon Sep 17 00:00:00 2001 From: "J. Goutin" Date: Sun, 3 Jul 2016 15:31:18 +0200 Subject: Update msvc.py --- setuptools/msvc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'setuptools/msvc.py') diff --git a/setuptools/msvc.py b/setuptools/msvc.py index f1213f32..990382c0 100644 --- a/setuptools/msvc.py +++ b/setuptools/msvc.py @@ -8,7 +8,7 @@ import collections import distutils.errors from setuptools.extern.six.moves import filterfalse -if platform.system() == Windows: +if platform.system() == 'Windows': from setuptools.extern.six.moves import winreg safe_env = os.environ else: @@ -57,7 +57,7 @@ def patch_for_specialized_compiler(): Microsoft Visual C++ 14.0: Microsoft Visual C++ Build Tools 2015 (x86, x64, arm) """ - if platform.system() != Windows: + if platform.system() != 'Windows': # Compilers only availables on Microsoft Windows return -- cgit v1.2.1