Explorar o código

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 %!s(int64=8) %!d(string=hai) anos
pai
achega
6044b24cfc
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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"],
 )