//python:py_library.bzl

Public entry point for py_library.

py_library(**attrs)

Creates an executable Python program.

This is the public macro wrapping the underlying rule. Args are forwarded on as-is unless otherwise specified. See py_library for detailed attribute documentation.

This macro affects the following args:

  • srcs_version: cannot be PY2 or PY2ONLY

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

Args: