Commit e1f60f50 authored by Jisi Liu's avatar Jisi Liu

Update comments.

parent b657cb4b
...@@ -472,8 +472,6 @@ java_library( ...@@ -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( ...@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment