浏览代码

Merge pull request #4659 from calder/bazel-python-namespace-fix

Declare 'google' namespace when importing Python protobuf via Bazel
Feng Xiao 7 年之前
父节点
当前提交
8175c6e444
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      BUILD

+ 1 - 0
BUILD

@@ -640,6 +640,7 @@ py_library(
     name = "python_srcs",
     srcs = glob(
         [
+            "python/google/__init__.py",
             "python/google/protobuf/*.py",
             "python/google/protobuf/**/*.py",
         ],