File: backports_weakref.BUILD

package info (click to toggle)
tensorflow 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 277,264 kB
  • sloc: cpp: 1,567,763; python: 657,902; java: 19,101; ansic: 16,326; sh: 10,713; pascal: 8,949; xml: 1,738; objc: 1,208; makefile: 689; cs: 168; perl: 150
file content (22 lines) | stat: -rw-r--r-- 457 bytes parent folder | download | duplicates (3)
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 $< $@",
)