Interface PythonPlatform
-
- All Superinterfaces:
FlavorConvertible
- All Known Implementing Classes:
LazyPythonPlatform
public interface PythonPlatform extends FlavorConvertible
A toolchain that provides access to Python environment (an interpreter and its version) and cxx library.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<BuildTarget>
getCxxLibrary()
PythonEnvironment
getEnvironment()
Flavor
getFlavor()
com.google.common.collect.ImmutableList<String>
getInplaceBinaryInterpreterFlags()
-
-
-
Method Detail
-
getFlavor
Flavor getFlavor()
- Specified by:
getFlavor
in interfaceFlavorConvertible
- Returns:
- the
Flavor
associated with this python platform.
-
getEnvironment
PythonEnvironment getEnvironment()
- Returns:
- the
PythonEnvironment
for this python platform.
-
getCxxLibrary
Optional<BuildTarget> getCxxLibrary()
- Returns:
- the
BuildTarget
wrapping the C/C++ library used by C/C++ extensions.
-
getInplaceBinaryInterpreterFlags
com.google.common.collect.ImmutableList<String> getInplaceBinaryInterpreterFlags()
- Returns:
- flags that should be added to the hashbang of inplace python binaries
-
-