Browse Source

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.
Adam Michael 8 years ago
parent
commit
6044b24cfc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      BUILD

+ 1 - 0
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"],
 )