public abstract class PythonBinary extends AbstractBuildRule implements BinaryBuildRule, HasRuntimeDeps
| Constructor and Description |
|---|
PythonBinary(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
java.util.function.Supplier<? extends SortedSet<BuildRule>> originalDeclaredDeps,
PythonPlatform pythonPlatform,
String mainModule,
PythonPackageComponents components,
com.google.common.collect.ImmutableSet<String> preloadLibraries,
String pexExtension,
boolean legacyOutputPath) |
| Modifier and Type | Method and Description |
|---|---|
protected PythonPackageComponents |
getComponents() |
protected String |
getMainModule() |
protected com.google.common.collect.ImmutableSet<String> |
getPreloadLibraries() |
protected PythonPlatform |
getPythonPlatform() |
java.util.stream.Stream<BuildTarget> |
getRuntimeDeps(BuildRuleResolver buildRuleResolver) |
SourcePath |
getSourcePathToOutput() |
equals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString, updateBuildRuleResolverclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetExecutableCommandcompareTo, getBuildDeps, getBuildSteps, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolvergetDependencies, getSourcePathOutputsgetTypepublic PythonBinary(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, java.util.function.Supplier<? extends SortedSet<BuildRule>> originalDeclaredDeps, PythonPlatform pythonPlatform, String mainModule, PythonPackageComponents components, com.google.common.collect.ImmutableSet<String> preloadLibraries, String pexExtension, boolean legacyOutputPath)
public SourcePath getSourcePathToOutput()
getSourcePathToOutput in interface BuildRuleprotected final PythonPlatform getPythonPlatform()
protected final String getMainModule()
protected final PythonPackageComponents getComponents()
protected final com.google.common.collect.ImmutableSet<String> getPreloadLibraries()
public java.util.stream.Stream<BuildTarget> getRuntimeDeps(BuildRuleResolver buildRuleResolver)
getRuntimeDeps in interface HasRuntimeDeps