aboutsummaryrefslogtreecommitdiffhomepage
path: root/BUILD
diff options
context:
space:
mode:
authorGravatar Adam Michael <ajmichael@google.com>2017-03-10 18:06:34 -0500
committerGravatar Adam Michael <ajmichael@google.com>2017-03-10 18:06:34 -0500
commit6044b24cfc68117cdc499fe2f7eac7d89a9cb437 (patch)
treec3cd2ab30d113a344affeb60ebee933f61d1f691 /BUILD
parent92064a40ceb2ecdfed42f441b9c46c9c9fa00d34 (diff)
Make //:protobuf_python have correct __init__.py.
Previously //:protobuf_python set no __init__.py so Bazel created an empty one. This change makes it use the __init__.py from the repository.
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/BUILD b/BUILD
index bf894628..d63c6d4f 100644
--- a/BUILD
+++ b/BUILD
@@ -693,6 +693,7 @@ py_proto_library(
":python_srcs",
"//external:six",
],
+ py_extra_srcs = glob(["python/**/__init__.py"]),
srcs_version = "PY2AND3",
visibility = ["//visibility:public"],
)