1 Star 0 Fork 0

simdsoft/protobuf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
six.BUILD 544 Bytes
一键复制 编辑 原始数据 按行查看 历史
Yannic 提交于 2019-10-25 14:13 . Update six.BUILD
load("@rules_python//python:defs.bzl", "py_library")
# Consume `six.py` as `__init__.py` for compatibility
# with `--incompatible_default_to_explicit_init_py`.
# https://github.com/protocolbuffers/protobuf/pull/6795#issuecomment-546060749
# https://github.com/bazelbuild/bazel/issues/10076
genrule(
name = "copy_six",
srcs = ["six-1.12.0/six.py"],
outs = ["__init__.py"],
cmd = "cp $< $(@)",
)
py_library(
name = "six",
srcs = ["__init__.py"],
srcs_version = "PY2AND3",
visibility = ["//visibility:public"],
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/simdsoft/protobuf.git
[email protected]:simdsoft/protobuf.git
simdsoft
protobuf
protobuf
master

搜索帮助