I've developed a small C library and a much larger Python native extension that uses that library. The native extension has no dependencies other than that small C library.
While the library is useful on its own, I'm thinking it would be good to include the library's source directly with my native extension's source when I upload to PyPI, so that it can be easily built for arbitrary platforms without me having to create wheels for them.
Is this a known approach? Have people done this before?
For reference, the C library, which currently builds with autotools, is here: https://github.com/catern/rsyscall/tree/master/c And the Python library and native extension, which currently builds with setuptools and uses cffi, is here: https://github.com/catern/rsyscall/tree/master/python
Thanks for any guidance!