//python:py_executable_info.bzl
Provider for executable-specific information.
The PyExecutableInfo provider contains information about an executable that
isn’t otherwise available from its public attributes or other providers.
It exposes information primarily useful for consumers to package the executable, or derive a new executable from the base binary.
- provider PyExecutableInfo
Information about an executable.
This provider is for executable-specific information (e.g. tests and binaries).
Added in version 0.36.0.
- PyExecutableInfo.<init>(build_data_file, interpreter_path, main, runfiles_without_exe)
- PyExecutableInfo.build_data_file: None | File
A symlink to build_data.txt if stamping is enabled, otherwise None.
- PyExecutableInfo.interpreter_path: None | str
Path to the Python interpreter to use for running the executable itself (not the bootstrap script). Either an absolute path (which means it is platform-specific), or a runfiles-relative path (which means the interpreter should be within
runtime_files)