xref: /aosp_15_r20/external/bazelbuild-rules_python/docs/environment-variables.md (revision 60517a1edbc8ecf509223e9af94a7adec7d736b8)
1# Environment Variables
2
3:::{envvar} RULES_PYTHON_REPO_DEBUG
4
5When `1`, repository rules will print debug information about what they're
6doing. This is mostly useful for development to debug errors.
7:::
8
9:::{envvar} RULES_PYTHON_REPO_DEBUG_VERBOSITY
10
11Determines the verbosity of logging output for repo rules. Valid values:
12
13* `DEBUG`
14* `INFO`
15* `TRACE`
16:::
17
18:::{envvar} RULES_PYTHON_PIP_ISOLATED
19
20Determines if `--isolated` is used with pip.
21
22Valid values:
23* `0` and `false` mean to not use isolated mode
24* Other non-empty values mean to use isolated mode.
25:::
26
27:::{envvar} RULES_PYTHON_BZLMOD_DEBUG
28
29When `1`, bzlmod extensions will print debug information about what they're
30doing. This is mostly useful for development to debug errors.
31:::
32
33:::{envvar} RULES_PYTHON_ENABLE_PYSTAR
34
35When `1`, the rules_python Starlark implementation of the core rules is used
36instead of the Bazel-builtin rules. Note this requires Bazel 7+.
37:::
38
39:::{envvar} RULES_PYTHON_BOOTSTRAP_VERBOSE
40
41When `1`, debug information about bootstrapping of a program is printed to
42stderr.
43:::
44
45:::{envvar} VERBOSE_COVERAGE
46
47When `1`, debug information about coverage behavior is printed to stderr.
48:::
49