On 20/10/16 20:19, David Naylor wrote:
Hi
Some software depends on python-config however PyPy does not provide an equivalent pypy-config. Are there any plans/workarounds to provide such a bin?
Regards
D
I actually ran into this yesterday, as I tried to build wxPython which uses SIP whose build system uses python-config. AFAICT, python-config is provided by the downstream package maintainer. For instance, in debian it is provided by their python-dev package. Since it is not an integral part of python, I'm not sure it should be an integral part of pypy, but it is trivial to copy-and-modify. FWIW, I am attatching the one I used, YMMV. Also, note that in building wxPython I discovered that we do not yet support enough of the C-API to use SIP, so I assume PyQT/PySide will fail as well. The issue is in siplib.c's sipWrapperType_alloc, since we do not yet (may not ever?) support overriding tp_alloc. Matti