~/talk

Less known packaging features and tricks

Talkat EuroPython 2015 · 2015-07-20..07-26· [python, devops-and-delivery]
slides:none on file

Covers lesser-known pip/setuptools/virtualenv and Python packaging features and tools that can simplify packaging and avoid common problems. Gives concrete patterns and tricks for setup.py usage, shows obscure features useful to package authors and users, and surveys some emerging alternative packaging tools.

AI-written summary · about

  1. 0:00Intro
  2. 2:22What's going on in a setup.py? It's a really nasty archiver There are a bunch of options from distutils
  3. 3:21Setting the record straight Mandatory clarifications: packages vs distributions
  4. 3:58Types of archives
  5. 5:24File gathering: sdist
  6. 6:28Inside setup.py: packages (2)
  7. 10:30Advices for MANIFEST.in
  8. 13:00Inside setup.py: data_files
  9. 13:55A quick interlude: applications If you really need data_files you are probably trying to package an application. - Use a specialized package likes
  10. 16:12A quick interlude: dependencies
  11. 17:03Importing code in setup.py Don't do this
  12. 20:44Optional dependencies
  13. 21:51A quick interlude: Tox
  14. 22:30Other ways to manage environments
  15. 23:37Environment markers - PEP-426
  16. 24:58Coverage for C extensions Easy to do on Linux
  17. 25:38Uploading
  18. 28:34Ending
~/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.