view mrjunejune/inference/python_zip.bzl @ 282:6bd4a3990696 default tip

Add cross-platform canvas orchestration and typed composer Enable native ARM dependencies, macOS Copilot orchestration, portable service supervision, CPU dictation, and a shared N-key speak-or-type composer. Co-authored-by: Copilot <[email protected]> Copilot-Session: f68442b1-fa8f-46a0-9689-81710613bbd4
author MrJuneJune <me@mrjunejune.com>
date Thu, 20 Aug 2026 20:45:25 -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],
    ),
  },
)