What is the most conventional way to integrate C code into a Python library using distutils?
Many well-known python libraries are basically written in C (like tensorflow or numpy) because this apparently speeds things up a lot. I was able to very easily integrate a C function into python by …