17 lines
431 B
Python
17 lines
431 B
Python
load("@rules_python//python/entry_points:py_console_script_binary.bzl", "py_console_script_binary")
|
|
load("@rules_python//python/uv:lock.bzl", uv_lock = "lock")
|
|
|
|
py_console_script_binary(
|
|
name = "hf",
|
|
pkg = "@huggingface_hub//huggingface_hub",
|
|
tags = ["manual"],
|
|
)
|
|
|
|
uv_lock(
|
|
name = "requirements",
|
|
srcs = ["requirements.in"],
|
|
out = "requirements.lock.txt",
|
|
args = ["--upgrade"],
|
|
tags = ["manual"],
|
|
)
|