Commit b85f1ed5 authored by Jason R. Coombs's avatar Jason R. Coombs

Rename function again for clarity.

parent 80ee0f54
......@@ -68,7 +68,7 @@ def query_vcvarsall(version, arch='x86', *args, **kwargs):
# If vcvarsall.bat fail, try to set environment directly
try:
return _query_vcvarsall(version, arch)
return _compute_env(version, arch)
except distutils.errors.DistutilsPlatformError as exc:
# Error if MSVC++ directory not found or environment not set
message = exc.args[0]
......@@ -254,7 +254,7 @@ class RegistryInfo:
pass
def _query_vcvarsall(version, arch):
def _compute_env(version, arch):
"""
Return environment variables for specified Microsoft Visual C++ version
and platform.
......
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