From 29799238c287fcd86941096fcabbae2584d04de2 Mon Sep 17 00:00:00 2001 From: Geoffrey Irving Date: Thu, 3 Dec 2015 13:11:19 -0800 Subject: Add srcs_version = "PY2AND3" in BUILD files The sources themselves appear to already be Python 3 clean. --- BUILD | 2 ++ 1 file changed, 2 insertions(+) (limited to 'BUILD') diff --git a/BUILD b/BUILD index 97e3f45b..ee31cd86 100644 --- a/BUILD +++ b/BUILD @@ -512,6 +512,7 @@ internal_copied_filegroup( py_proto_library( name = "protobuf_python", srcs = WELL_KNOWN_PROTOS, + srcs_version = "PY2AND3", include = "src", protoc = ":protoc", py_extra_srcs = [":python_srcs"], @@ -555,6 +556,7 @@ py_proto_library( py_library( name = "python_tests", srcs = [":python_test_srcs"], + srcs_version = "PY2AND3", deps = [ ":protobuf_python", ":python_common_test_protos", -- cgit v1.2.3