aboutsummaryrefslogtreecommitdiffhomepage
path: root/BUILD
diff options
context:
space:
mode:
authorGravatar Jisi Liu <jisi.liu@gmail.com>2015-10-22 13:55:37 -0700
committerGravatar Jisi Liu <jisi.liu@gmail.com>2015-10-22 13:55:37 -0700
commite1f60f50430466003ede6cbd27ea133422958b8f (patch)
tree80ac85ceef45f2016f3d1c0a6b1112f1d9abe5cc /BUILD
parentb657cb4b918306a7a1492f3764b63a4aaea4162a (diff)
Update comments.
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/BUILD b/BUILD
index 0401e2c4..4f2bc287 100644
--- a/BUILD
+++ b/BUILD
@@ -472,8 +472,6 @@ java_library(
# Python support
################################################################################
-# Requires: six for python 2/3 compatibility. `pip install six`
-
# Hack:
# protoc generated files contain imports like:
# "from google.protobuf.xxx import yyy"
@@ -485,10 +483,13 @@ java_library(
# that depend on the target.
#
# If you use python protobuf as a third_party library in your bazel managed
-# project, please import the whole package to //google/protobuf in your
+# project:
+# 1) Please import the whole package to //google/protobuf in your
# project. Otherwise, bazel disallows generated files out of the current
# package, thus we won't be able to copy protobuf runtime files into
# //google/protobuf/.
+# 2) The runtime also requires "six" for Python2/3 compatibility, please see the
+# WORKSPACE file and bind "six" to your workspace as well.
internal_copied_filegroup(
name = "python_srcs",
srcs = glob(