~/talk

How to build Python-C++ libraries

Talkat NDC TechTown 2019 · 2019-09-02..09-05· [python]
links:none on file
slides:none on file

Explains how to produce redistributable Python wheels for C++ extensions by using scikit-build + CMake to control compiler flags and dependencies, CI (Travis/Circle/AppVeyor) to build across multiple OSes and Python versions, and auditwheel/multi-build to bundle transitive native libs and create manylinux-compatible wheels. Shows a minimal C++ math extension, automates rebuilds, runs ~11 CI jobs per change, and performs a one‑click deploy to PyPI triggered by a git tag — yielding reproducible, tested wheels that install on target platforms.

AI-written summary · about

  1. 0:00Introduction to pip packaging
  2. 2:15Understanding package structure
  3. 7:22The history of packaging tools
  4. 9:45Creating C extensions
  5. 13:05Challenges of native builds
  6. 21:51Introduction to scikit-build
  7. 27:44Automating build workflows
  8. 31:58Testing with CI services
  9. 36:21Distributing wheels
  10. 39:53Cross-platform automation
  11. 44:26Conclusion 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.