|author||Alex Deymo <email@example.com>||Wed Sep 28 23:34:56 2022 +0000|
|committer||CQ Bot Account <firstname.lastname@example.org>||Wed Sep 28 23:34:56 2022 +0000|
pw_protobuf_compiler: Default python packages to include directory The typical name for the pw_proto_library target in PW modules is "protos", which creates a python package called just "protos". This is generally not a problem for the build since the generated "protos" packages from different modules would normally install different files. However, when collecting all the .whl files with pw_python_wheels() having two package files with the same name creates a conflict. Make the python package name for the generated pw_proto_library() ".python" target include the directory name too. This only affects pw_proto_library() targets have have neither python_module_as_package defined, always using the name of the single source as package name, nor python_package defined, using the provided python package instead. Change-Id: Ib4d2e07f4959bde51ea6c27337fdbe9b7e016291 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/110650 Reviewed-by: Wyatt Hepler <email@example.com> Commit-Queue: Alex Deymo <firstname.lastname@example.org>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.