diff options
author | Jonathon Belotti <jonathon@canva.com> | 2021-01-24 19:07:04 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-24 19:07:04 +1100 |
commit | 5eb0de810f76f16ab8a909953c1b235051536686 (patch) | |
tree | fc00e8aa98ad13fecb6b5f56ff19fe21c7c64cd3 /README.md | |
parent | a4a1ccffc666db5376342789ad021a943fb84256 (diff) | |
download | bazelbuild-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.md | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |