From eb8bb9e461f669f299aa031634530995bc43f92b Mon Sep 17 00:00:00 2001 From: Shanqing Cai Date: Fri, 10 Mar 2017 16:12:59 -0800 Subject: Replace all_files data dependencies of build_pip_package with py_library targets Benefits of this CL: 1) Removes ~70 python unit test files from the pip wheel. 2) Makes it easier to track which files are included in the pip wheel through bazel queries. Change: 149810103 --- tensorflow/contrib/labeled_tensor/BUILD | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tensorflow/contrib/labeled_tensor') diff --git a/tensorflow/contrib/labeled_tensor/BUILD b/tensorflow/contrib/labeled_tensor/BUILD index 50685136d3..55258f264a 100644 --- a/tensorflow/contrib/labeled_tensor/BUILD +++ b/tensorflow/contrib/labeled_tensor/BUILD @@ -22,6 +22,15 @@ py_library( ], ) +# Transitive dependencies of this target will be included in the pip package. +py_library( + name = "labeled_tensor_pip", + deps = [ + ":labeled_tensor", + ":test_util", + ], +) + py_library( name = "_typecheck", srcs = ["python/ops/_typecheck.py"], -- cgit v1.2.3