aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Nick Felt <nickfelt@google.com>2018-02-01 15:05:41 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-02-01 17:35:52 -0800
commit1f7352e0e5354f35e6f181071f791612257dc026 (patch)
treeb82c09465e690eccd3357f7feb30c6cfa84712b2
parent31edddcc025b95fd6fec419d4372d3f3a4f89af8 (diff)
Revert TensorBoard entry point back to run_main
PiperOrigin-RevId: 184201506
-rw-r--r--tensorflow/tools/pip_package/setup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/tools/pip_package/setup.py b/tensorflow/tools/pip_package/setup.py
index 1b1d60c4f3..3cd4d12100 100644
--- a/tensorflow/tools/pip_package/setup.py
+++ b/tensorflow/tools/pip_package/setup.py
@@ -80,13 +80,13 @@ CONSOLE_SCRIPTS = [
# is now declared by the tensorboard pip package. If we remove the
# TensorBoard command, pip will inappropriately remove it during install,
# even though the command is not removed, just moved to a different wheel.
- 'tensorboard = tensorboard.main:main',
+ 'tensorboard = tensorboard.main:run_main',
]
# pylint: enable=line-too-long
# remove the tensorboard console script if building tf_nightly
if 'tf_nightly' in project_name:
- CONSOLE_SCRIPTS.remove('tensorboard = tensorboard.main:main')
+ CONSOLE_SCRIPTS.remove('tensorboard = tensorboard.main:run_main')
TEST_PACKAGES = [
'scipy >= 0.15.1',