diff options
author | Michael Case <mikecase@google.com> | 2018-04-16 17:34:01 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-04-16 17:38:36 -0700 |
commit | 7ee54c2f7cdbc7098627a56b4f084f7b6654b662 (patch) | |
tree | 94ecae1eeefa957355987f19ba5c9f3aa77d6e11 /configure.py | |
parent | d0345d2d863d50e9db56dc03b1792ec3c4e193c1 (diff) |
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
Diffstat (limited to 'configure.py')
-rw-r--r-- | configure.py | 2 |
1 files changed, 0 insertions, 2 deletions
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 |