2024-06-14 15:27:06 +00:00
|
|
|
load("@rules_python//python:py_library.bzl", "py_library")
|
2025-05-30 16:42:57 +00:00
|
|
|
load("@rules_python//python/entry_points:py_console_script_binary.bzl", "py_console_script_binary")
|
2024-06-14 15:27:06 +00:00
|
|
|
|
|
|
|
|
py_library(
|
|
|
|
|
name = "zml_utils",
|
|
|
|
|
srcs = ["zml_utils.py"],
|
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
|
)
|
2025-05-30 16:42:57 +00:00
|
|
|
|
|
|
|
|
py_console_script_binary(
|
|
|
|
|
name = "hf",
|
|
|
|
|
pkg = "@huggingface_hub//huggingface_hub:pkg",
|
2025-07-16 10:01:41 +00:00
|
|
|
script = "hf",
|
2025-05-30 16:42:57 +00:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
|
)
|