//python:py_binary.bzl
Public entry point for py_binary.
- py_binary(**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 the underlying
py_binaryrule for detailed attribute documentation.This macro affects the following args:
python_version: cannot bePY2srcs_version: cannot bePY2orPY2ONLYtags: May have special marker values added, if not already present.
Changed in version VERSION_NEXT_FEATURE: The
PYTHONBREAKPOINTenvironment variable is inherited. Use in combination with--debuggerto customize the debugger available and used.