blob: d1415613388d9cd98dfcaa841474ac6a3592a18c [file]
load("@rules_python//python:py_test.bzl", "py_test")
exports_files(
glob(["data/**"]),
visibility = ["//visibility:public"],
)
py_test(
name = "pip_whl_mods_test",
srcs = ["pip_whl_mods_test.py"],
data = ["@pip//requests:whl"],
env = {
"REQUESTS_PKG": "$(rlocationpaths @pip//requests:pkg)",
"REQUESTS_WHL": "$(rlocationpath @pip//requests:whl)",
"WHEEL_PKG": "$(rlocationpaths @pip//wheel:pkg)",
},
main = "pip_whl_mods_test.py",
deps = [
"@pip//requests:pkg",
"@pip//wheel:pkg",
"@rules_python//python/runfiles",
],
)