tflite-micro/python
Ryan Kuester e0e052dc7b
feat(py): add scripts for building and uploading to PyPI (#2236)
Add mechanism and scripts for building and uploading the Python distribution
package `tflite_micro` to PyPI. These scripts are intended mainly for use by CI
when generating packages for distribution via for PyPI, and won't be used by
most developers. Building a package for local use is still done via a normal
Bazel build.

Heavily comment the scripts with rationale and technical details of the
implementation.

Make significant updates to python/tflite_micro/README.md which explain
building, installing, and uploading the package to PyPI. Leave some cleanup of
the existing text for later.

Add a build setting `--//python/tflite_micro:compatibility_tag` for setting
:whl's platform compatibility tag. Unfortunately, it cannot derived
automatically from the execution environment by the current implementation of
@rules_python.

BUG=part of #1484
2023-09-20 21:23:56 +00:00
..
tests build(bazel): use --std=c++17 by default (#2060) 2023-06-15 20:22:54 +00:00
tflite_micro feat(py): add scripts for building and uploading to PyPI (#2236) 2023-09-20 21:23:56 +00:00
BUILD build: add means of linking with C libs in Py packages (#1668) 2023-03-05 06:25:58 +00:00
py_namespace.bzl feat: build and test a Python distribution package tflite_micro (#2151) 2023-08-01 22:27:53 +00:00
py_pkg_cc_deps.bzl Fixing google3 presubmit buildify errors. (#1809) 2023-03-08 21:06:49 +00:00