~/talk

"The perfect setup? Not setup.py! Building packages the right way"

Talkat PyCon AU 2024 · 2024-11-22..11-26· [python]
links:none on file
slides:none on file

Argues to stop using setup.py with concrete malware examples showing arbitrary code execution during install and surprising vectors like registry changes and downloaded EXEs, documents how to declare builds in pyproject.toml and use alternative build backends (Flit, Hatch, Poetry, setuptools), shows migration patterns reaching ~50% adoption this year, demonstrates how dynamic fields and hooks can still execute code, and gives step‑by‑step fixes plus practical security checks to adopt safely.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:16Understanding setup.py
  3. 1:51Why setup.py is problematic
  4. 6:56The history of packaging
  5. 10:36The shift to pyproject.toml
  6. 14:09How to migrate to the new way
  7. 19:02Malicious code execution hacks
  8. 24:22Best practices and homework
  9. 26:19Conclusion and Q&A
~/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.