~/talk

Packaging Django Apps for Distribution on PyPI

Talkat DjangoCon US 2018 · 2018-10-14..10-19· [django]
slides:none on file

Concrete steps for packaging a reusable Django app: use a src layout so tests exercise the installed package, declare metadata and deps with setuptools and follow PEP 440 for versions, build both wheel and source sdist, verify included files with check-manifest, and upload securely with twine (try the PyPI sandbox first). Document install, supported Django/Python versions, public API and templates, include tests, tag releases on a code host, and be prepared to maintain releases.

AI-written summary · about

  1. 0:00Start
  2. 1:25What Is a Package
  3. 3:36What Makes a Good App Django Apps
  4. 4:46Url Namespaces
  5. 6:46Version Numbering
  6. 7:19Documentation
  7. 8:42Readme
  8. 9:23Formatting the Readme
  9. 9:52Setup Tools
  10. 10:14Keyword Arguments
  11. 11:56Check Manifest
  12. 14:46Why Build Source Distributions
~/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.