Mercurial
view mrjunejune/inference/python_zip.bzl @ 277:1d99147f520c
Merge Qwen services and infinite canvas heads
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Mon, 17 Aug 2026 17:01:40 -0700 |
| parents | 1f9877b637e9 |
| children |
line wrap: on
line source
def _python_zip_file_impl(ctx): files = ctx.attr.binary[OutputGroupInfo].python_zip_file return DefaultInfo( files = files, runfiles = ctx.runfiles(files = files.to_list()), ) python_zip_file = rule( implementation = _python_zip_file_impl, attrs = { "binary": attr.label( mandatory = True, providers = [OutputGroupInfo], ), }, )