File tree Expand file tree Collapse file tree
src/python/thrift_examples Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,8 +4,11 @@ An example repository to demonstrate codegen support in Pants.
44
55Refer to these docs for more information:
66
7- * [ Python Protobuf] ( https://www.pantsbuild.org/docs/protobuf-python )
8- * [ Python Thrift] ( https://www.pantsbuild.org/docs/protobuf-python )
7+ * [ Python Protobuf] ( https://www.pantsbuild.org/v2.10/ docs/protobuf-python )
8+ * [ Python Thrift] ( https://www.pantsbuild.org/v2.10/ docs/protobuf-python )
99
1010Run ` ./pants export-codegen :: ` to see the generated files. This isn't necessary for Pants to
1111use the generated files, but can be useful when debugging or to generate files for IDEs.
12+
13+ Check out our other [ example repositories] ( https://www.pantsbuild.org/docs/example-repos ) to see
14+ other features like running linters and formatters, and packaging binaries.
Original file line number Diff line number Diff line change 11[GLOBAL ]
2- pants_version = " 2.10.0.dev3 "
2+ pants_version = " 2.10.0rc0 "
33backend_packages = [
44 " pants.backend.codegen.protobuf.python" ,
5- " pants.backend.experimental. codegen.thrift.apache.python" ,
5+ " pants.backend.codegen.thrift.apache.python" ,
66 " pants.backend.python" ,
77]
88
99use_deprecated_python_macros = false
1010
11- [source ]
12- root_patterns = [" src/*" ]
13-
1411[anonymous-telemetry ]
1512enabled = true
1613repo_id = " 205E301D-44A4-42FF-8495-C9D41871A431"
Original file line number Diff line number Diff line change 1- python_tests (dependencies = [ "src/thrift:thrift" ] )
1+ python_tests ()
You can’t perform that action at this time.
0 commit comments