Commit c12e784c authored by J. Goutin's avatar J. Goutin Committed by GitHub

Update msvc.py

parent a0bc231f
...@@ -8,7 +8,7 @@ import collections ...@@ -8,7 +8,7 @@ import collections
import distutils.errors import distutils.errors
from setuptools.extern.six.moves import filterfalse from setuptools.extern.six.moves import filterfalse
if platform.system() == Windows: if platform.system() == 'Windows':
from setuptools.extern.six.moves import winreg from setuptools.extern.six.moves import winreg
safe_env = os.environ safe_env = os.environ
else: else:
...@@ -57,7 +57,7 @@ def patch_for_specialized_compiler(): ...@@ -57,7 +57,7 @@ def patch_for_specialized_compiler():
Microsoft Visual C++ 14.0: Microsoft Visual C++ 14.0:
Microsoft Visual C++ Build Tools 2015 (x86, x64, arm) Microsoft Visual C++ Build Tools 2015 (x86, x64, arm)
""" """
if platform.system() != Windows: if platform.system() != 'Windows':
# Compilers only availables on Microsoft Windows # Compilers only availables on Microsoft Windows
return return
......
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