Skip to content

Commit

Permalink
Add srcs_version = "PY2AND3" in BUILD files
Browse files Browse the repository at this point in the history
The sources themselves appear to already be Python 3 clean.
  • Loading branch information
girving committed Dec 3, 2015
1 parent dbc91e9 commit 2979923
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions six.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ genrule(
py_library(
name = "six",
srcs = ["six.py"],
srcs_version = "PY2AND3",
visibility = ["//visibility:public"],
)

0 comments on commit 2979923

Please sign in to comment.