Self-contained highly-portable Python distributions
- Programming
- Developer Tools
- Open Source
- Infrastructure
python-build-standalone is a project that builds relocatable Python distributions you can bundle with your own software instead of depending on whatever Python happens to be on the target machine. The docs position it as a portable, self-contained CPython base, and several people pointed out that this is already what tools like uv use when they install Python for users. That gave the post a practical angle fast. This is not an obscure packaging experiment. It is already sitting underneath a chunk of the modern Python tooling stack.
If you ship Python inside your product, this is now a mainstream base to evaluate instead of maintaining your own bespoke interpreter builds. Treat it as a reproducible runtime layer, then make explicit decisions about libc, CPU targets, and native extension compatibility instead of assuming "portable" means "runs anywhere."
-
gregoryszorc.com
- Discuss on HN