Does anyone have a good example of using the build_clib
command in distutils to build an external (non-python) C library from setup.py? The documentation on the subject seems to be sparse or non-existent.
My aim is to build a very simple external library, then build a cython wrapper which links to it. The simplest example I've found is here, but this uses a system()
call to gcc which I can't imagine is best practice.