Initial import of build scripts
With Ansible dropping Python support for Python versions distributed with composes we still do need to be able to run tests against, we need a foolproof way to safeguard the compatibility of newer and supported Ansible releases with target systems. For this reason, the goal is to package a statically-linked portable Python runtime, that can be pushed to machines using the ansible.builtin.raw module prior to allowing Ansible to run any Python code on the target.
This set of scripts builds a modified statically-linked Python 3.12 distribution. During the build process other userspace libraries need to be built and their corresponding Python libraries modified and Python native extensions injected as built-in modules and linked against their corresponding libraries, since statically-linked binaries do not permit loading of shared objects, which is how Python native extensions are usually distributed.
For a sort-of overview of the structure and function of the different components you can refer to the (very incomplete) documentation draft in !2.