aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Yun Peng <pcloudy@google.com>2016-04-20 12:59:55 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2016-04-20 14:23:54 +0000
commit01e7914245132a07ceb222eb21d1a015b701782d (patch)
treef451b993c5c363fd4e4fd0c48f96a017e01fc26d /tools
parentdb0c487a15018361edf8df362d56decb53a92aba (diff)
Prevent msvc toolchain's python wrapper script from generating pyc files
Otherwise, we have to clean it every time and it will affect the linking in cc_configure.bzl -- MOS_MIGRATED_REVID=120329223
Diffstat (limited to 'tools')
-rw-r--r--tools/cpp/wrapper/bin/call_python.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cpp/wrapper/bin/call_python.bat b/tools/cpp/wrapper/bin/call_python.bat
index 549917d10c..93ab0fea3f 100644
--- a/tools/cpp/wrapper/bin/call_python.bat
+++ b/tools/cpp/wrapper/bin/call_python.bat
@@ -23,4 +23,4 @@ set PYDIR="%DRIVER_BIN%pydir"
::TODO(pcloudy): Remove hard code path, user should be able to configure
if not defined MSVCPYTHON set MSVCPYTHON=C:\python_27_amd64\files\python.exe
-%MSVCPYTHON% "%PYDIR%\%TOOLNAME%.py" %*
+%MSVCPYTHON% -B "%PYDIR%\%TOOLNAME%.py" %*