File tree 1 file changed +13
-1
lines changed
Filter options
1 file changed +13
-1
lines changed
Original file line number Diff line number Diff line change @@ -62,12 +62,24 @@ rules_python_external_dependencies()
62
62
load ("@rules_python_external//:defs.bzl" , "pip_install" )
63
63
64
64
pip_install (
65
- # You can optionally provide a python_interpreter (path) or a python_interpreter_target (a Bazel target, that
65
+ # (Optional) You can provide extra parameters to pip.
66
+ # Here, make pip output verbose (this is usable with `quiet = False`).
67
+ #extra_pip_args = ["-v"],
68
+
69
+ # (Optional) You can exclude custom elements in the data section of the generated BUILD files for pip packages.
70
+ # Exclude directories with spaces in their names in this example (avoids build errors if there are such directories).
71
+ #pip_data_exclude = ["**/* */**"],
72
+
73
+ # (Optional) You can provide a python_interpreter (path) or a python_interpreter_target (a Bazel target, that
66
74
# acts as an executable). The latter can be anything that could be used as Python interpreter. E.g.:
67
75
# 1. Python interpreter that you compile in the build file (as above in @python_interpreter).
68
76
# 2. Pre-compiled python interpreter included with http_archive
69
77
# 3. Wrapper script, like in the autodetecting python toolchain.
70
78
python_interpreter_target = "@python_interpreter//:python_bin" ,
79
+
80
+ # (Optional) You can set quiet to False if you want to see pip output.
81
+ #quiet = False,
82
+
71
83
# Uses the default repository name "pip"
72
84
requirements = "//:requirements.txt" ,
73
85
)
You can’t perform that action at this time.
0 commit comments