Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Modern Binary Build Systems for Python Extensions

PyCon US via YouTube

Overview

Explore the evolution of binary extension packaging in Python through this PyCon US talk by Henry Fredrick Schreiner III. Dive into the transition from complex distutils and setuptools-based systems to modern, streamlined build systems like scikit-build-core, meson-python, and maturin. Learn how these new tools simplify the creation of compiled extensions, reducing thousands of lines of code to mere hundreds. Discover the benefits of integrated experiences, including support for systems without binary wheels on PyPI, modern editable installs, and easy configuration for advanced features. Follow along as the speaker demonstrates setting up binary extensions using CMake, Meson, and Maturin with minimal code. Gain insights into cross-compilation, multithreaded builds, and modern C++ standards support. Examine real-world examples of large-scale conversions to modern build systems, including NumPy and RAPIDS.ai. By the end of this 37-minute presentation, acquire the knowledge to create compiled extensions efficiently and modernize existing projects using these cutting-edge build systems.

Syllabus

Talks - Henry Fredrick Schreiner III: Modern binary build systems

Taught by

PyCon US

Reviews

Start your review of Modern Binary Build Systems for Python Extensions

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.