瀏覽代碼

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 年之前
父節點
當前提交
6044b24cfc
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      BUILD

+ 1 - 0
BUILD

@@ -693,6 +693,7 @@ py_proto_library(
         ":python_srcs",
         ":python_srcs",
         "//external:six",
         "//external:six",
     ],
     ],
+    py_extra_srcs = glob(["python/**/__init__.py"]),
     srcs_version = "PY2AND3",
     srcs_version = "PY2AND3",
     visibility = ["//visibility:public"],
     visibility = ["//visibility:public"],
 )
 )