Inside Python Binary Builds
summary
Overview of standalone binary packaging for Python: technologies like PyInstaller, Nuitka, PyOxidizer, py2app, PythonZipper (Bazel), and cx_Freeze are named and compared. The talk explains the internals of creating hermetic, closed Python binaries, describes Yandex’s in-house build system used for over 10 years, and discusses trade-offs and benefits of that approach versus other tools.
AI-written summary · about
chapters (15)
- 0:00Python binary builds intro
- 2:10Speaker intro
- 3:54Classic vs autonomous packaging
- 8:33Dependency search in tools
- 12:05Yol system build files
- 15:17Transpilation with Nuitka
- 18:11Packaging with Nuitka
- 22:30Runtime behavior differences
- 26:46Nuitka startup and unpacking
- 31:01Data protection limits
- 33:53Tool trade-offs summary
- 34:35Performance benchmarks
- 39:49Choosing the right tool
- 40:30Testing and ecosystem
- 41:33Q&A
