11# Environment Variables
22
3- :::{envvar} RULES_PYTHON_REPO_DEBUG
4-
5- When ` 1 ` , repository rules will print debug information about what they're
6- doing. This is mostly useful for development to debug errors.
7- :::
8-
9- :::{envvar} RULES_PYTHON_REPO_DEBUG_VERBOSITY
10-
11- Determines the verbosity of logging output for repo rules. Valid values:
12-
13- * ` DEBUG `
14- * ` INFO `
15- * ` TRACE `
16- :::
17-
18- :::{envvar} RULES_PYTHON_REPO_TOOLCHAIN_VERSION_OS_ARCH
19-
20- Determines the python interpreter platform to be used for a particular
21- interpreter ` (version, os, arch) ` triple to be used in repository rules.
22- Replace the ` VERSION_OS_ARCH ` part with actual values when using, e.g.
23- ` 3_13_0_linux_x86_64 ` . The version values must have ` _ ` instead of ` . ` and the
24- os, arch values are the same as the ones mentioned in the
25- ` //python:versions.bzl ` file.
26- :::
27-
28- :::{envvar} RULES_PYTHON_PIP_ISOLATED
29-
30- Determines if ` --isolated ` is used with pip.
3+ :::{envvar} RULES_PYTHON_BOOTSTRAP_VERBOSE
314
32- Valid values:
33- * ` 0 ` and ` false ` mean to not use isolated mode
34- * Other non-empty values mean to use isolated mode.
5+ When ` 1 ` , debug information about bootstrapping of a program is printed to
6+ stderr.
357:::
368
379:::{envvar} RULES_PYTHON_BZLMOD_DEBUG
@@ -52,23 +24,6 @@ When `1`, the rules_python Starlark implementation of the core rules is used
5224instead of the Bazel-builtin rules. Note this requires Bazel 7+.
5325:::
5426
55- :::{envvar} RULES_PYTHON_BOOTSTRAP_VERBOSE
56-
57- When ` 1 ` , debug information about bootstrapping of a program is printed to
58- stderr.
59- :::
60-
61- :::{envvar} VERBOSE_COVERAGE
62-
63- When ` 1 ` , debug information about coverage behavior is printed to stderr.
64- :::
65-
66-
67- :::{envvar} RULES_PYTHON_GAZELLE_VERBOSE
68-
69- When ` 1 ` , debug information from gazelle is printed to stderr.
70- :::
71-
7227:::{envvar} RULES_PYTHON_EXTRACT_ROOT
7328
7429Directory to use as the root for creating files necessary for bootstrapping so
@@ -89,3 +44,47 @@ being cleaned up by the OS.
8944If not set, then a temporary directory will be created and deleted upon program
9045exit.
9146:::
47+
48+ :::{envvar} RULES_PYTHON_GAZELLE_VERBOSE
49+
50+ When ` 1 ` , debug information from gazelle is printed to stderr.
51+ :::
52+
53+ :::{envvar} RULES_PYTHON_PIP_ISOLATED
54+
55+ Determines if ` --isolated ` is used with pip.
56+
57+ Valid values:
58+ * ` 0 ` and ` false ` mean to not use isolated mode
59+ * Other non-empty values mean to use isolated mode.
60+ :::
61+
62+ :::{envvar} RULES_PYTHON_REPO_DEBUG
63+
64+ When ` 1 ` , repository rules will print debug information about what they're
65+ doing. This is mostly useful for development to debug errors.
66+ :::
67+
68+ :::{envvar} RULES_PYTHON_REPO_DEBUG_VERBOSITY
69+
70+ Determines the verbosity of logging output for repo rules. Valid values:
71+
72+ * ` DEBUG `
73+ * ` INFO `
74+ * ` TRACE `
75+ :::
76+
77+ :::{envvar} RULES_PYTHON_REPO_TOOLCHAIN_VERSION_OS_ARCH
78+
79+ Determines the python interpreter platform to be used for a particular
80+ interpreter ` (version, os, arch) ` triple to be used in repository rules.
81+ Replace the ` VERSION_OS_ARCH ` part with actual values when using, e.g.
82+ ` 3_13_0_linux_x86_64 ` . The version values must have ` _ ` instead of ` . ` and the
83+ os, arch values are the same as the ones mentioned in the
84+ ` //python:versions.bzl ` file.
85+ :::
86+
87+ :::{envvar} VERBOSE_COVERAGE
88+
89+ When ` 1 ` , debug information about coverage behavior is printed to stderr.
90+ :::
0 commit comments