Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.17 KB

File metadata and controls

27 lines (19 loc) · 1.17 KB

Python3 service template

Import

This package bundles a Python3 runtime into a overlay.squashfs file. info-beamer OS will detect this file and mount it as an overlay into the package service's filesystem. This makes Python3.11 available for use in your service.

The first time python3 is invoked it will precompile some python modules and save the result in the package's scratch directory.

Using in your own package

  1. Copy overlay.squashfs into your package.
  2. Invoke python3 as your package service's interpreter.

Building this package

The included build-overlay and Makefile can be used to create the included overlay.squashfs. Right now this packages uses Raspbian OS (bookworm) packages instead of building its own binaries. Place the listed files the directory debs, for example by using apt-get download.

Then invoke make and you'll end up with a new version of overlay.squashfs.