Remove tensorboard as a required package if we are building tf_nightly.

This commit is contained in:
Amit Patankar
2017-08-17 16:48:31 -07:00
parent 2133b83376
commit 0139ac983f

View File

@@ -54,6 +54,12 @@ else:
# mock comes with unittest.mock for python3, need to install for python2
REQUIRED_PACKAGES.append('mock >= 2.0.0')
# remove tensorboard from tf-nightly packages
if 'tf_nightly' in project_name:
for package in REQUIRED_PACKAGES:
if 'tensorflow-tensorboard' in package:
REQUIRED_PACKAGES.remove(package)
# weakref.finalize was introduced in Python 3.4
if sys.version_info < (3, 4):
REQUIRED_PACKAGES.append('backports.weakref >= 1.0rc1')