public interface PythonPackagable extends HasBuildTarget
BuildRule
which contributes components to a top-level Python binary or test.Modifier and Type | Method and Description |
---|---|
default boolean |
doesPythonPackageDisallowOmnibus(PythonPlatform pythonPlatform,
CxxPlatform cxxPlatform,
ActionGraphBuilder graphBuilder)
Allow this rule to opt-out it's transitive dependencies from omnibus linking.
|
default Optional<PythonComponents> |
getPythonBytecode(PythonPlatform pythonPlatform,
CxxPlatform cxxPlatform,
ActionGraphBuilder graphBuilder)
Compiled Python bytecode (e.g.
|
default Optional<? extends PythonComponents> |
getPythonModules(PythonPlatform pythonPlatform,
CxxPlatform cxxPlatform,
ActionGraphBuilder graphBuilder)
Python modules (i.e.
|
Iterable<BuildRule> |
getPythonPackageDeps(PythonPlatform pythonPlatform,
CxxPlatform cxxPlatform,
ActionGraphBuilder graphBuilder) |
default Optional<? extends PythonComponents> |
getPythonResources(PythonPlatform pythonPlatform,
CxxPlatform cxxPlatform,
ActionGraphBuilder graphBuilder)
Resources (e.g.
|
default Optional<Boolean> |
isPythonZipSafe() |
getBuildTarget
Iterable<BuildRule> getPythonPackageDeps(PythonPlatform pythonPlatform, CxxPlatform cxxPlatform, ActionGraphBuilder graphBuilder)
default Optional<? extends PythonComponents> getPythonModules(PythonPlatform pythonPlatform, CxxPlatform cxxPlatform, ActionGraphBuilder graphBuilder)
Path
form (including
extension).default Optional<? extends PythonComponents> getPythonResources(PythonPlatform pythonPlatform, CxxPlatform cxxPlatform, ActionGraphBuilder graphBuilder)
Path
.default Optional<PythonComponents> getPythonBytecode(PythonPlatform pythonPlatform, CxxPlatform cxxPlatform, ActionGraphBuilder graphBuilder)
Path
form
(including extension).default Optional<Boolean> isPythonZipSafe()
default boolean doesPythonPackageDisallowOmnibus(PythonPlatform pythonPlatform, CxxPlatform cxxPlatform, ActionGraphBuilder graphBuilder)
PythonPackagable
's transitive deps must be excluded from omnibus
linking.