xref: /aosp_15_r20/external/bazelbuild-rules_python/python/private/pypi/whl_installer/BUILD.bazel (revision 60517a1edbc8ecf509223e9af94a7adec7d736b8)
1load("//python:defs.bzl", "py_binary", "py_library")
2
3py_library(
4    name = "lib",
5    srcs = [
6        "arguments.py",
7        "namespace_pkgs.py",
8        "platform.py",
9        "wheel.py",
10        "wheel_installer.py",
11    ],
12    visibility = [
13        "//:__subpackages__",
14    ],
15    deps = [
16        "@pypi__installer//:lib",
17        "@pypi__packaging//:lib",
18        "@pypi__pip//:lib",
19        "@pypi__setuptools//:lib",
20    ],
21)
22
23py_binary(
24    name = "wheel_installer",
25    srcs = [
26        "wheel_installer.py",
27    ],
28    deps = [":lib"],
29)
30
31filegroup(
32    name = "distribution",
33    srcs = glob(["*"]),
34    visibility = ["//:__subpackages__"],
35)
36