Remove deprecated/unused python related Bazel options.
Since py_runtime was introduced, Bazel ignores options such as --force_python2 and --python2_path. Deleting to clean stuff up and make sure people are not misled. PiperOrigin-RevId: 193127681
This commit is contained in:
parent
d0345d2d86
commit
7ee54c2f7c
@ -226,8 +226,6 @@ def setup_python(environ_cp):
|
||||
# Set-up env variables used by python_configure.bzl
|
||||
write_action_env_to_bazelrc('PYTHON_BIN_PATH', python_bin_path)
|
||||
write_action_env_to_bazelrc('PYTHON_LIB_PATH', python_lib_path)
|
||||
write_to_bazelrc('build --force_python=py%s' % python_major_version)
|
||||
write_to_bazelrc('build --host_force_python=py%s' % python_major_version)
|
||||
write_to_bazelrc('build --python_path=\"%s"' % python_bin_path)
|
||||
environ_cp['PYTHON_BIN_PATH'] = python_bin_path
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user