aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJonathon Belotti <jonathon@canva.com>2021-01-24 19:07:04 +1100
committerGitHub <noreply@github.com>2021-01-24 19:07:04 +1100
commit5eb0de810f76f16ab8a909953c1b235051536686 (patch)
treefc00e8aa98ad13fecb6b5f56ff19fe21c7c64cd3 /README.md
parenta4a1ccffc666db5376342789ad021a943fb84256 (diff)
downloadbazelbuild-rules_python-5eb0de810f76f16ab8a909953c1b235051536686.tar.gz
remove inaccuracy in README about default py interpreter used by pip_install (#402)
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/README.md b/README.md
index b139a64..a2592f4 100644
--- a/README.md
+++ b/README.md
@@ -131,8 +131,7 @@ pip_install(
Note that since pip is executed at WORKSPACE-evaluation time, Bazel has no
information about the Python toolchain and cannot enforce that the interpreter
used to invoke pip matches the interpreter used to run `py_binary` targets. By
-default, `pip_install` uses the system command `"python"`, which on most
-platforms is a Python 2 interpreter. This can be overridden by passing the
+default, `pip_install` uses the system command `"python3"`. This can be overridden by passing the
`python_interpreter` attribute or `python_interpreter_target` attribute to `pip_install`.
You can have multiple `pip_install`s in the same workspace, e.g. for Python 2