aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/extension.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/extension.py')
-rw-r--r--setuptools/extension.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/setuptools/extension.py b/setuptools/extension.py
index 41a817b7..c695976a 100644
--- a/setuptools/extension.py
+++ b/setuptools/extension.py
@@ -21,7 +21,7 @@ def _patch_msvc9compiler_find_vcvarsall():
if find_vcvarsall and find_vcvarsall.__module__.startswith('setuptools.'):
# Already patched
return
-
+
def _find_vcvarsall(version):
Reg = distutils.msvc9compiler.Reg
try:
@@ -33,15 +33,15 @@ def _patch_msvc9compiler_find_vcvarsall():
productdir = Reg.get_value(VC_BASE % ('Wow6432Node\\', version), "installdir")
except KeyError:
productdir = None
-
+
if productdir:
import os
vcvarsall = os.path.join(productdir, "vcvarsall.bat")
if os.path.isfile(vcvarsall):
return vcvarsall
-
+
return find_vcvarsall(version)
-
+
def _query_vcvarsall(version, *args, **kwargs):
try:
return query_vcvarsall(version, *args, **kwargs)