view mrjunejune/inference/python_zip.bzl @ 260:1f9877b637e9

Add Copilot-powered cyberpunk JRPG chat Integrate the production JRPG chat with Seobeo streaming, Deita persistence, and a Bazel-managed Copilot SDK and LiteLLM inference stack. Co-authored-by: Copilot <[email protected]>
author MrJuneJune <mrjunejune@users.noreply.github.com>
date Wed, 05 Aug 2026 09:19:41 -0700
parents
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],
    ),
  },
)