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
As is mentioned in setupscript.html#installing-package-data:
setup( ... package_data={'top_secret_wrapper': ['top_secret.so']}, )