How do I package a Python module together with a precompiled .so library? Specifically, how do I write setup.py so that when I do this in Python
.so
setup.py
If that library should also be compiled during install you can describe this as an extension module. If you just want to ship it add it as package_data