aboutsummaryrefslogtreecommitdiff
path: root/examples/bzlmod/whl_mods/BUILD.bazel
blob: 6ca07dd2d1f0218912366a1e97eabc935d3afaab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
load("@rules_python//python:defs.bzl", "py_test")

exports_files(
    glob(["data/**"]),
    visibility = ["//visibility:public"],
)

py_test(
    name = "pip_whl_mods_test",
    srcs = ["pip_whl_mods_test.py"],
    env = {
        "REQUESTS_PKG_DIR": "pip_39_requests",
        "WHEEL_PKG_DIR": "pip_39_wheel",
    },
    main = "pip_whl_mods_test.py",
    deps = [
        "@pip//requests:pkg",
        "@pip//wheel:pkg",
        "@rules_python//python/runfiles",
    ],
)