aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/backports_weakref.BUILD
blob: 0adfc5f05419e736b6af01252674e6fb11e6b8d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Description:
#   Backport of new features in Python's weakref module.

package(default_visibility = ["//visibility:public"])

licenses(["notice"])  # Python 2.0

py_library(
    name = "org_python_pypi_backports_weakref",
    srcs = [
        "backports/__init__.py",
        "backports/weakref.py",
    ],
    srcs_version = "PY2AND3",
)

genrule(
    name = "license",
    srcs = ["@org_python_license"],
    outs = ["LICENSE"],
    cmd = "cp $< $@",
)