mirror of
https://github.com/zebrajr/tensorflow.git
synced 2026-01-15 12:15:41 +00:00
Remove tensorboard as a required package if we are building tf_nightly.
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user