Suggest to add option to shrink pybi distros
@njsmith Hi, I heard about your pep 711 on the talk python podcast, and definitely it resonates with me given my prior struggles to package python in my py-js project which embeds a full python binary distribution in max/msp plugins or 'externals'.
In this project, a python interpreter can be packaged as one of many build variants, and in all cases has to be built as a relocatable binary distribution, and also shrunk to a size which would make it practical for embedding. I would then compile the plugin code against it: a combination of c and python and embed everything in a macOS bundle, and then sign, notarize, and staple it.
I found the problem to be so challenging that I had to build a custom python builder package to do all of the above. I even incorporated some of Greg Neagle's relocatable python logic in one of the variants.
May I suggest to have a look at the README and also at the builder code in this project in case it's helpful for your PEP 711. It would be great to make it easier be make python binary distributions relocatable and also easier for them to be shrunk to purpose in scenarios of embedding or custom application deployments.