Commit fc7c65a2 authored by Yannic's avatar Yannic Committed by Adam Cozzette

Update six.BUILD

parent 3581ee24
...@@ -5,15 +5,15 @@ load("@rules_python//python:defs.bzl", "py_library") ...@@ -5,15 +5,15 @@ load("@rules_python//python:defs.bzl", "py_library")
# https://github.com/protocolbuffers/protobuf/pull/6795#issuecomment-546060749 # https://github.com/protocolbuffers/protobuf/pull/6795#issuecomment-546060749
# https://github.com/bazelbuild/bazel/issues/10076 # https://github.com/bazelbuild/bazel/issues/10076
genrule( genrule(
name = "copy_six", name = "copy_six",
srcs = ["six-1.12.0/six.py"], srcs = ["six-1.12.0/six.py"],
outs = ["__init__.py"], outs = ["__init__.py"],
cmd = "cp $< $(@)", cmd = "cp $< $(@)",
) )
py_library( py_library(
name = "six", name = "six",
srcs = ["__init__.py"], srcs = ["__init__.py"],
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
) )
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