blob: ef1a9f62d3c5bb05cc59ff1701a2ad70964e6c5a [file] [log] [blame] [edit]
# Description:
# dataclasses module from the Python 3.7 standard library.
# For backporting to Python 3.6 and below.
load("@rules_python//python:py_library.bzl", "py_library")
package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # Python Software Foundation
filegroup(
name = "srcs",
srcs = glob(["**"]),
visibility = ["//visibility:public"],
)
py_library(
name = "dataclasses",
srcs = glob(["**/*.py"]),
imports = ["."],
srcs_version = "PY3", # Only works with Python 3.
)