~/talk

Distributing Python programs through PyInstaller

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

PyInstaller packages Python apps by collecting all .py, C extensions and data into either a one-folder layout or a single-file executable: a bootloader binary with a zip archive appended. Shared .so/.dll files get extracted to a temp directory at runtime, UPX compression and Windows CRT bundling are supported, and a generated spec file lists discovered modules, with overrides for hidden imports and special-case recipes (Qt, PIL plugins). Bytecode is bundled (not cryptographically protected); ctypes-based dependencies are detected but fully preventing reverse engineering is not solved.

AI-written summary · about

  1. 0:00Introduzione
  2. 0:49Goal
  3. 1:31Means
  4. 2:30Solution
  5. 3:05Overview
  6. 5:33Crash tutorial
  7. 12:00Where is the program?
  8. 14:17Import hooks
  9. 17:14And now for something better
  10. 17:45What is in there?
  11. 18:10Where are the libraries?
  12. 20:17Explore the executable
  13. 21:43Feature reel
  14. 23:33Multiplatform: Windows
  15. 25:19Multiplatform: Linux
  16. 26:50Multiplatform: Mac OS X
  17. 27:27Flexibility
  18. 29:19Analysis
  19. 29:59SPEC file
  20. 30:27Dependencies: Python level
  21. 31:49Dependencies: OS level
  22. 34:40Hidden imports (& datas)
  23. 36:31SPEC hand editing
  24. 37:59Reverse engineering
  25. 40:52Pyinstaller future
  26. 42:22Questions?
~/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.