PyInfoEncapsulates information provided by the Python rules.
bool PyInfo.has_py2_only_sourcesWhether any of this target's transitive sources requires a Python 2 runtime.
bool PyInfo.has_py3_only_sourcesWhether any of this target's transitive sources requires a Python 3 runtime.
depset PyInfo.importsA depset of import path strings to be added to the
PYTHONPATHof executable Python targets. These are accumulated from the transitive
The order of the depset is not guaranteed and may be changed in the future. It is recommended to use
default order (the default).
depset PyInfo.transitive_sourcesA (
postorder-compatible) depset of
.pyfiles appearing in the target's
srcsof the target's transitive
bool PyInfo.uses_shared_librariesWhether any of this target's transitive
depshas a shared library file (such as a
This field is currently unused in Bazel and may go away in the future.