Bzl
Bazel code
Rules to create a bazel environment which functions similar to venv
${PATH}tools dictionary key,
independently of the underlying binary’s filename, and retains its runfilesCreate env and activate:
. "$(bazel run //tools/bzlenv)"
Activate existing env:
. .bzlenv/bin/activate
Deactivate env:
bzlenv_deactivate
Bazel code