Author: Matti Picus <matti.pi...@gmail.com> Branch: py3.5 Changeset: r94057:016ce1e2ce8b Date: 2018-03-21 19:45 +0200 http://bitbucket.org/pypy/pypy/changeset/016ce1e2ce8b/
Log: running vcvarsall.bat is not changing path, try to figure out why diff --git a/lib-python/3/distutils/msvc9compiler.py b/lib-python/3/distutils/msvc9compiler.py --- a/lib-python/3/distutils/msvc9compiler.py +++ b/lib-python/3/distutils/msvc9compiler.py @@ -266,7 +266,7 @@ if vcvarsall is None: raise DistutilsPlatformError("Unable to find vcvarsall.bat") - log.debug("Calling 'vcvarsall.bat %s' (version=%s)", arch, version) + log.debug("Calling '%s %s' (version=%s)", vcvarsall, arch, version) popen = subprocess.Popen('"%s" %s & set' % (vcvarsall, arch), stdout=subprocess.PIPE, stderr=subprocess.PIPE) @@ -276,6 +276,10 @@ raise DistutilsPlatformError(stderr.decode("mbcs")) stdout = stdout.decode("mbcs") + log.debug('-'*30) + log.debug(stderr.decode('mbcs')) + log.debug(stdout.decode('mbcs')) + log.debug('-'*30) for line in stdout.split("\n"): line = Reg.convert_mbcs(line) if '=' not in line: _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit