commit | bd9a7eb032a379aa85174c2f8a1672ca06faf262 | [log] [tgz] |
---|---|---|
author | Anthony DiGirolamo <tonymd@google.com> | Tue Jul 11 02:11:45 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jul 11 02:11:45 2023 +0000 |
tree | bccc61c760f595dd7ef76ee336eccdbbfb8b2268 | |
parent | f7d804f919eb3d4186d81c2408a3e10b1783d53d [diff] |
pw_build: Python script for the build_wheel target This adds generate_python_wheel.py to replace the direct call to python -m build within GN. The behavior remains the same with two additions: - Stale wheel files from old builds are deleted first - After the wheel is created a 'requirements.txt' is written with the package name==version and the sha256 line. This will be used in a followup CL to install Python wheel artifacts with: `pip install --require-hashes` Change-Id: If85210364f73e7fb8e59629cacaac95ebb0d90b1 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/153710 Commit-Queue: Anthony DiGirolamo <tonymd@google.com> Reviewed-by: Wyatt Hepler <hepler@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
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/.