public class PythonBuckConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PythonBuckConfig.PackageStyle |
Modifier and Type | Field and Description |
---|---|
static Flavor |
DEFAULT_PYTHON_PLATFORM |
static String |
SECTION |
Constructor and Description |
---|
PythonBuckConfig(BuckConfig config) |
public static final String SECTION
public static final Flavor DEFAULT_PYTHON_PLATFORM
public PythonBuckConfig(BuckConfig config)
public BuckConfig getDelegate()
public Optional<BuildTarget> getPexTarget(TargetConfiguration targetConfiguration)
public com.google.common.collect.ImmutableList<String> getPexFlags()
public Optional<Tool> getRawPexTool(BuildRuleResolver resolver, TargetConfiguration targetConfiguration)
public Optional<BuildTarget> getPexExecutorTarget(TargetConfiguration targetConfiguration)
public Optional<Tool> getPexExecutor(BuildRuleResolver resolver, TargetConfiguration targetConfiguration)
public NativeLinkStrategy getNativeLinkStrategy()
public String getPexExtension()
public boolean shouldCacheBinaries()
public boolean legacyOutputPath()
public PythonBuckConfig.PackageStyle getPackageStyle()
public com.google.common.collect.ImmutableList<String> inplaceBinaryInterpreterFlags()
public String getDefaultPythonPlatformSection()
public Flavor getDefaultPythonPlatformFlavor()
public java.util.stream.Stream<String> getPythonPlatformSections()
public Flavor calculatePythonPlatformFlavorFromSection(String section)
public Optional<BuildTarget> getCxxLibrary(String section, TargetConfiguration targetConfiguration)
public String getDefaultSection()
public PathSourcePath getSourcePath(Path pythonPath)