diff options
author | Shanqing Cai <cais@google.com> | 2017-03-10 16:12:59 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-03-10 16:28:10 -0800 |
commit | eb8bb9e461f669f299aa031634530995bc43f92b (patch) | |
tree | 44cc9cde668cf505684acd6f231a82a1be6271ff /tensorflow/contrib/labeled_tensor | |
parent | 1a833fb731d0daca9a10d55dc9d9f3c4dcaeaa1e (diff) |
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
Diffstat (limited to 'tensorflow/contrib/labeled_tensor')
-rw-r--r-- | tensorflow/contrib/labeled_tensor/BUILD | 9 |
1 files changed, 9 insertions, 0 deletions
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"], |