Skip to content

Commit a529208

Browse files
committed
Update comment regarding msvc9_query_vcvarsall (pypa/setuptools/issues/992)
1 parent e96ae89 commit a529208

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/automate.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,8 +492,9 @@ def build_wrapper_library_windows(runtime_library, msvs, vcvars):
492492
# When Using WinSDK 7.1 vcvarsall.bat doesn't work. Use
493493
# setuptools.msvc.msvc9_query_vcvarsall to query env vars.
494494
env.update(msvc9_query_vcvarsall(10.0, arch=VS_PLATFORM_ARG))
495-
# On Python 2.7 64-bit env values returned by setuptools
496-
# are unicode. On 32-bit they are strings.
495+
# On Python 2.7 env values returned by both distutils
496+
# and setuptools are unicode, but Python expects env
497+
# dict values as strings.
497498
for env_key in env:
498499
env_value = env[env_key]
499500
if type(env_value) != str:

0 commit comments

Comments
 (0)