• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Description:
2#   Backport of new features in Python's weakref module.
3
4package(default_visibility = ["//visibility:public"])
5
6licenses(["notice"])  # Python 2.0
7
8py_library(
9    name = "org_python_pypi_backports_weakref",
10    srcs = [
11        "backports/__init__.py",
12        "backports/weakref.py",
13    ],
14    srcs_version = "PY3",
15)
16
17genrule(
18    name = "license",
19    srcs = ["@org_python_license"],
20    outs = ["LICENSE"],
21    cmd = "cp $< $@",
22)
23