zeromq/pyzmq — Issue #178: issue with cython headers for external projects
Author: mccullerlp
Created: 2012-02-18 19:00:13+00:00
State: open

The current version of pyzmq gives the .pxd files needed for cython to expose zmq objects, but all of the high level objects in zmq/core directly or indirectly link to libzmq.pxd. The problem with this is that libzmq references some headers that no python/cython program should need and aren't included with many packages.

Making C extension libraries that can use pyzmq sockets for instance can't currently cimport zmq.core.socket because socket cimports message (unnecessarily) and message cimports libzmq.

It would be helpful to remove unecessary references to libzmq where possible, or to split libzmq ether apart, to prevent references to implementation headers, or to give purpose-built user-facing .pxd files that can be cimported without these problems.