xref: /aosp_15_r20/external/bazelbuild-rules_python/examples/bzlmod/whl_mods/BUILD.bazel (revision 60517a1edbc8ecf509223e9af94a7adec7d736b8)
1load("@rules_python//python:defs.bzl", "py_test")
2
3exports_files(
4    glob(["data/**"]),
5    visibility = ["//visibility:public"],
6)
7
8py_test(
9    name = "pip_whl_mods_test",
10    srcs = ["pip_whl_mods_test.py"],
11    env = {
12        "REQUESTS_PKG": "$(rlocationpaths @pip//requests:pkg)",
13        "WHEEL_PKG": "$(rlocationpaths @pip//wheel:pkg)",
14    },
15    main = "pip_whl_mods_test.py",
16    deps = [
17        "@pip//requests:pkg",
18        "@pip//wheel:pkg",
19        "@rules_python//python/runfiles",
20    ],
21)
22