From 83a7a9ad7e8030d48910e66b959160fcc9819ede Mon Sep 17 00:00:00 2001 From: pcloudy Date: Mon, 29 May 2017 18:41:42 +0200 Subject: Fix some typo RELNOTES: None PiperOrigin-RevId: 157403137 --- site/versions/master/docs/windows.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/site/versions/master/docs/windows.md b/site/versions/master/docs/windows.md index 02e10d0f16..5a0b6b51c4 100644 --- a/site/versions/master/docs/windows.md +++ b/site/versions/master/docs/windows.md @@ -103,10 +103,10 @@ where Visual Studio is, otherwise Bazel will try to find the latest version inst * [Python](https://www.python.org/downloads/)
Both Python 2 and Python 3 are supported. -Currently, we use python wrapper scripts to call the actual MSVC compiler, so -please make sure python is installed and its location is added into PATH. +Currently, we use Python wrapper scripts to call the actual MSVC compiler, so +please make sure Python is installed and its location is added into PATH. It's also a good idea to set `BAZEL_PYTHON` environment variable to tell Bazel -where python is. +where Python is.
For example: `export BAZEL_PYTHON=C:/Python27/python.exe` Bazel will auto-configure the location of Visual Studio and Python at the first @@ -142,7 +142,7 @@ bazel run examples/java-native/src/main/java/com/example/myproject:hello-world ### Build Python -On Windows, we build a self-extracting zip file for executable python targets, you can even use +On Windows, we build a self-extracting zip file for executable Python targets, you can even use `python ./bazel-bin/path/to/target` to run it in native Windows command line (cmd.exe). See more details in this [design doc](/designs/2016/09/05/build-python-on-windows.html). -- cgit v1.2.3