Skip to content

Commit a111a5a

Browse files
authored
comment why env is empty for pipstar
1 parent 9529e09 commit a111a5a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

python/private/pypi/whl_library.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,8 @@ def _whl_library_impl(rctx):
358358
enable_pipstar = (rp_config.enable_pipstar or whl_path) and rctx.attr.config_load
359359
enable_pipstar_extract = enable_pipstar and rp_config.bazel_8_or_later
360360

361+
# When pipstar is enabled, Python isn't used, so there's no need
362+
# to setup env vars to run Python.
361363
if enable_pipstar_extract:
362364
environment = {}
363365
else:

0 commit comments

Comments
 (0)