From 7ee54c2f7cdbc7098627a56b4f084f7b6654b662 Mon Sep 17 00:00:00 2001 From: Michael Case Date: Mon, 16 Apr 2018 17:34:01 -0700 Subject: 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 --- configure.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'configure.py') diff --git a/configure.py b/configure.py index 8fb8979111..b745e374a2 100644 --- a/configure.py +++ b/configure.py @@ -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 -- cgit v1.2.3