From 51235c26477234566c31c56de8ef4a753ba14d15 Mon Sep 17 00:00:00 2001 From: Benjamin Staffin Date: Sun, 30 Jul 2017 21:27:15 -0400 Subject: [PATCH] Include __init__.py for google.* python namespacing Related to #1296: The issue seems to be fixed for consumers of the python protobuf package from pypi, but not for anyone getting it from here as a Bazel remote repository. --- BUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/BUILD b/BUILD index 619fa34e91635..c221de08ac763 100644 --- a/BUILD +++ b/BUILD @@ -641,6 +641,7 @@ py_library( name = "python_srcs", srcs = glob( [ + "python/google/__init__.py", "python/google/protobuf/*.py", "python/google/protobuf/**/*.py", ],