From c1f553eab9fd740dcea4adfe404dc24584ef2ab0 Mon Sep 17 00:00:00 2001 From: Jim Mussared Date: Fri, 27 Jan 2023 13:53:57 +1100 Subject: [PATCH] micropython/bundles: Add a bundle-networking meta-package. This is designed to be a common set of packages that all deployments with networking support should include. Signed-off-by: Jim Mussared --- micropython/bundles/README.md | 7 +++++++ micropython/bundles/bundle-networking/manifest.py | 9 +++++++++ 2 files changed, 16 insertions(+) create mode 100644 micropython/bundles/README.md create mode 100644 micropython/bundles/bundle-networking/manifest.py diff --git a/micropython/bundles/README.md b/micropython/bundles/README.md new file mode 100644 index 00000000..c4b3d19b --- /dev/null +++ b/micropython/bundles/README.md @@ -0,0 +1,7 @@ +These are "meta packages" designed to make it easy to provide defined +bundles of related packages. + +For example, all deployments of MicroPython with networking support +(WiFi/Ethernet) should add `require("bundle-networking")` to their +`manifest.py` to ensure that the the standard set of networking packages +(including HTTP requests, WebREPL, NTP, package management) are included. diff --git a/micropython/bundles/bundle-networking/manifest.py b/micropython/bundles/bundle-networking/manifest.py new file mode 100644 index 00000000..049d2f64 --- /dev/null +++ b/micropython/bundles/bundle-networking/manifest.py @@ -0,0 +1,9 @@ +metadata( + version="0.1.0", + metadata="Common networking packages for all network-capable deployments of MicroPython.", +) + +require("mip") +require("ntptime") +require("urequests") +require("webrepl")