//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 forwardedon as-is unless otherwise specified. See
py_libraryfor detailed attribute documentation.This macro affects the following args:
srcs_version: cannot bePY2orPY2ONLYtags: May have special marker values added, if not already present.
- Args:
attrs– Rule attributes forwarded ontopy_library.