Jean Baptiste Aviat Writing a C Python extension in 2017 PyCon 2017
Vložit
- čas přidán 19. 05. 2017
- "Speaker: Jean-Baptiste Aviat
This talk describes the build of a C Python extension, with prebuilt binaries, in 2017, where modern packaging standards, as well as Docker, have been a game changer in the Python extensions world. Most examples come from our experience building [PyMiniRacer][1], an embedded Python / JavaScript bridge used in production across hundreds of companies.
We will describe the different aspects of building a binary extension, including:
- using the modern manylinux wheel type in order to ship a built binary, usable in most Linux distributions;
- the choices offered to developers when building an extension: the Python public C API, cffi, ...;
- testing of a binary module across various platforms;
- troubleshooting & debugging an extension: the basics you need to tackle most common issues.
[1]: github.com/sqreen/PyMiniRacer
Slides can be found at: speakerdeck.com/pycon2017 and github.com/PyCon/2017-slides"
Small FYI, he was referring to PEP 513, not 503 when he was talking about manylinux wheels
In 2020, checkout PEP 600 and PEP 571, 599 (for historical development of manylinux)
thank you for your help and inspiration dude