apache-thrift
Apache Thrift IDL compiler (https://thrift.apache.org/).
Backend: pants.backend.codegen.thrift.apache.python
Config section: [apache-thrift]
Basic options
thrift_search_paths
thrift_search_paths
--apache-thrift-thrift-search-paths="['<str>', '<str>', ...]"
PANTS_APACHE_THRIFT_THRIFT_SEARCH_PATHS
default:
[ "<PATH>" ]
A list of paths to search for Thrift.
Specify absolute paths to directories with the thrift
binary, e.g. /usr/bin
. Earlier entries will be searched first.
The special string "<PATH>"
will expand to the contents of the PATH env var.
default:
0.15
The major/minor version of Apache Thrift that you are using, such as 0.15
.
Pants will only use Thrift binaries from --thrift-search-paths
that have the expected version, and it will error if none are found.
Do not include the patch version.
Advanced options
None
Deprecated options
None
Updated 16 days ago
Did this page help you?