Browse Source

Update comments.

Jisi Liu 10 years ago
parent
commit
e1f60f5043
1 changed files with 4 additions and 3 deletions
  1. 4 3
      BUILD

+ 4 - 3
BUILD

@@ -472,8 +472,6 @@ java_library(
 # Python support
 # Python support
 ################################################################################
 ################################################################################
 
 
-# Requires: six for python 2/3 compatibility.  `pip install six`
-
 # Hack:
 # Hack:
 # protoc generated files contain imports like:
 # protoc generated files contain imports like:
 #   "from google.protobuf.xxx import yyy"
 #   "from google.protobuf.xxx import yyy"
@@ -485,10 +483,13 @@ java_library(
 # that depend on the target.
 # that depend on the target.
 #
 #
 # If you use python protobuf as a third_party library in your bazel managed
 # 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
 # project. Otherwise, bazel disallows generated files out of the current
 # package, thus we won't be able to copy protobuf runtime files into
 # package, thus we won't be able to copy protobuf runtime files into
 # //google/protobuf/.
 # //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(
 internal_copied_filegroup(
     name = "python_srcs",
     name = "python_srcs",
     srcs = glob(
     srcs = glob(