File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,6 @@ def _toolchain_aliases_impl(rctx):
132132 host_platform = _get_host_platform (os_name , arch )
133133
134134 is_windows = (os_name == WINDOWS_NAME )
135- python3_binary_path = "python.exe" if is_windows else "bin/python3"
136135
137136 # Base BUILD file for this repository.
138137 build_contents = """\
@@ -181,8 +180,6 @@ load(
181180)
182181load("{rules_python}//python:pip.bzl", _compile_pip_requirements = "compile_pip_requirements")
183182
184- interpreter = "@{py_repository}_{host_platform}//:{python3_binary_path}"
185-
186183def py_binary(name, **kwargs):
187184 return _py_binary(
188185 name = name,
@@ -213,10 +210,7 @@ def compile_pip_requirements(name, **kwargs):
213210 )
214211
215212""" .format (
216- host_platform = host_platform ,
217- py_repository = rctx .attr .user_repository_name ,
218213 python_version = rctx .attr .python_version ,
219- python3_binary_path = python3_binary_path ,
220214 rules_python = get_repository_name (rctx .attr ._rules_python_workspace ),
221215 ))
222216
You can’t perform that action at this time.
0 commit comments