public class PythonLibrary extends NoopBuildRuleWithDeclaredAndExtraDeps implements PythonPackagable, HasRuntimeDeps
getBuildSteps, getSourcePathToOutput, hasBuildSteps, isCacheable
deprecatedGetExtraDeps, getBuildDeps, getDeclaredDeps, getTargetGraphOnlyDeps
equals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hashCode, injectFields, toString, updateBuildRuleResolver
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getBuildTarget
compareTo, getBuildDeps, getBuildSteps, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, getSourcePathToOutput, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolver
getDependencies, getSourcePathOutputs
getType
public Iterable<BuildRule> getPythonPackageDeps(PythonPlatform pythonPlatform, CxxPlatform cxxPlatform, ActionGraphBuilder graphBuilder)
getPythonPackageDeps
in interface PythonPackagable
public Optional<PythonMappedComponents> getPythonModules(PythonPlatform pythonPlatform, CxxPlatform cxxPlatform, ActionGraphBuilder graphBuilder)
PythonPackagable
getPythonModules
in interface PythonPackagable
Path
form (including
extension).public Optional<PythonMappedComponents> getPythonResources(PythonPlatform pythonPlatform, CxxPlatform cxxPlatform, ActionGraphBuilder graphBuilder)
PythonPackagable
getPythonResources
in interface PythonPackagable
Path
.public Optional<PythonComponents> getPythonBytecode(PythonPlatform pythonPlatform, CxxPlatform cxxPlatform, ActionGraphBuilder graphBuilder)
PythonPackagable
getPythonBytecode
in interface PythonPackagable
Path
form
(including extension).public Optional<Boolean> isPythonZipSafe()
isPythonZipSafe
in interface PythonPackagable
public java.util.stream.Stream<BuildTarget> getRuntimeDeps(BuildRuleResolver buildRuleResolver)
getRuntimeDeps
in interface HasRuntimeDeps
public boolean doesPythonPackageDisallowOmnibus(PythonPlatform pythonPlatform, CxxPlatform cxxPlatform, ActionGraphBuilder graphBuilder)
PythonPackagable
doesPythonPackageDisallowOmnibus
in interface PythonPackagable
PythonPackagable
's transitive deps must be excluded from omnibus
linking.