diff options
author | J. Goutin <JGoutin@users.noreply.github.com> | 2016-07-03 15:26:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-03 15:26:20 +0200 |
commit | 2aa04076e57845abdf9e0cc5238bdcc23ae5e58e (patch) | |
tree | 81fc08b8730a2a4d3ecd81647b39b4ba2ebfecf5 /setuptools/msvc.py | |
parent | b4b913b18c07a9d2bce8ae57da7e8c45bf17c28b (diff) | |
download | external_python_setuptools-2aa04076e57845abdf9e0cc5238bdcc23ae5e58e.tar.gz external_python_setuptools-2aa04076e57845abdf9e0cc5238bdcc23ae5e58e.tar.bz2 external_python_setuptools-2aa04076e57845abdf9e0cc5238bdcc23ae5e58e.zip |
Update msvc.py
Diffstat (limited to 'setuptools/msvc.py')
-rw-r--r-- | setuptools/msvc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/msvc.py b/setuptools/msvc.py index 5e6c1c25..0851b193 100644 --- a/setuptools/msvc.py +++ b/setuptools/msvc.py @@ -7,10 +7,10 @@ import itertools import distutils.errors from setuptools.extern.six.moves import filterfalse -try: +if platform.system() == Windows: from setuptools.extern.six.moves import winreg safe_env = os.environ -except ImportError: +else: """ Mock winreg and environ so the module can be imported on this platform. |