thrift:generate-python generates no Python files in SBT
问题 I use sbt-thrift 0.6 and I've got the following in the build definition: thriftPythonEnabled := true, thriftPythonOutputDir <<= sourceDirectory(_ / "python") When I run thrift:generate-python it generates nothing. thrift:generate-java works fine. Can someone tell me what I have to do to enable the Python support in the plugin? 回答1: You miss Thrift config in your setting. Give the following a try (using SBT 0.12 syntax): thriftPythonEnabled in Thrift := true, thriftPythonOutputDir in Thrift <<