I have a Python project that depends on an external C library (which is unrelated to Python and NOT part of the OS).
For an sdist, this is easy: my setup.py assumes that the library is pre-installed somewhere on the system where setuptools can find it.
However, is there a standard solution for packaging such a project as wheel? Ideally, the project should "just work" when doing pip install on it, which means that the external library should somehow be bundled in the wheel.
I know that for example numpy does that, but it also has a very complicated build system (containing a fork of distutils!).
Does anybody know any pointers for this? Or if you think that this is a minefield which is not really supported, feel free to say so.