@@ -1269,7 +1269,7 @@ def py_executable_base_impl(ctx, *, semantics, is_test, inherited_environment =
12691269 build_data_file = runfiles_details .build_data_file ,
12701270 interpreter_args = ctx .attr .interpreter_args ,
12711271 interpreter_path = runtime_details .executable_interpreter_path ,
1272- main = main_py ,
1272+ main_py = main_py ,
12731273 runfiles_without_exe = runfiles_details .runfiles_without_exe ,
12741274 stage2_bootstrap = exec_result .stage2_bootstrap ,
12751275 venv_interpreter_runfiles = exec_result .venv_interpreter_runfiles ,
@@ -1880,7 +1880,7 @@ def _add_provider_py_executable_info(
18801880 build_data_file ,
18811881 interpreter_args ,
18821882 interpreter_path ,
1883- main ,
1883+ main_py ,
18841884 runfiles_without_exe ,
18851885 stage2_bootstrap ,
18861886 venv_interpreter_runfiles ,
@@ -1894,7 +1894,7 @@ def _add_provider_py_executable_info(
18941894 build_data_file: File; a file with build stamp information.
18951895 interpreter_args: list of strings; arguments to pass to the interpreter.
18961896 interpreter_path: str; path to the Python interpreter.
1897- main : File; the main .py entry point.
1897+ main_py : File; the main .py entry point.
18981898 runfiles_without_exe: runfiles; the default runfiles, but without the executable.
18991899 stage2_bootstrap: File; the stage 2 bootstrap script.
19001900 venv_interpreter_runfiles: runfiles; runfiles specific to the interpreter for the venv.
@@ -1906,7 +1906,7 @@ def _add_provider_py_executable_info(
19061906 build_data_file = build_data_file ,
19071907 interpreter_args = interpreter_args ,
19081908 interpreter_path = interpreter_path ,
1909- main = main ,
1909+ main = main_py ,
19101910 runfiles_without_exe = runfiles_without_exe ,
19111911 stage2_bootstrap = stage2_bootstrap ,
19121912 venv_interpreter_runfiles = venv_interpreter_runfiles ,
0 commit comments