How do you compile a C library with multiple dependencies into a Python package? Cmake?
问题 I have a Python package in python3.x I've been writing up which interacts with two C functions in a C library. At the moment, I've been using ctypes whereby I link directly to the shared library *.so , and then use the python script to interact with this. https://docs.python.org/3/library/ctypes.html#module-ctypes I'm now confused how to distribute this python package whereby users would install the python package on github or via pip. Somehow, upon installation, the C library would need to