~/talk

Distributing Python programs through PyInstaller

Talkat EuroPython 2011 · 2011-06-20..06-26· [python]
slides:none on file

PyInstaller 1.5 packages a Python interpreter plus all dependencies into a native binary or bundle for Windows, Linux and macOS, producing either a one-directory layout or a one-file mode single executable (example: a 600 KB hello-world exe or a 2.1 MB single-file). The bootloader appends a compressed pyz archive of .pyc files (never extracted to disk) and, for bundled C extensions and DLLs, extracts shared libraries to a temporary directory at startup. Built‑in hooks handle libraries like matplotlib and PyQt4, supports zlib and UPX compression, and allows code signing; Python 3 support is not yet available.

AI-written summary · about

  1. 0:00Intro
  2. 0:17Giovanni Bajo
  3. 0:49Goal
  4. 1:31Means
  5. 2:30Solution
  6. 5:33Crash tutorial
  7. 12:00Where is the program?
  8. 14:17Import hooks
  9. 18:10Where are the libraries?
  10. 20:17Explore the executable
  11. 21:43Feature reel
  12. 23:33Multiplatform: Windows
  13. 25:59Multiplatform: Linux
  14. 26:50Multiplatform: Mac OS X
  15. 27:39Flexibility
  16. 29:19Analysis
  17. 30:27Dependencies: Python level
  18. 31:49Dependencies: OS level
  19. 36:31SPEC hand editing
  20. 37:59Reverse engineering
  21. 40:52Pyinstaller future
  22. 48:01Questions?
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.