//python:py_runtime.bzl

Public entry point for py_runtime.

py_runtime(**attrs)

Creates an executable Python program.

This is the public macro wrapping the underlying rule. Args are forwardedon as-is unless otherwise specified. Seepy_runtimefor detailed attribute documentation.

This macro affects the following args:

  • python_version: cannot bePY2

  • srcs_version: cannot bePY2 orPY2ONLY

  • tags: May have special marker values added, if not already present.

Args: