On Fri, Jan 17, 2014 at 8:06 AM, MinRK <[email protected]> wrote: > > > If you use cffi.verify, you can also do the compilation at build time, as > recommended > by > cffi<http://cffi.readthedocs.org/en/latest/index.html?highlight=get_extension#distributing-modules-using-cffi>. > PyZMQ does > this<https://github.com/zeromq/pyzmq/blob/f58bb80b3b7583fb45824d0a1037128f7f29d44a/setup.py#L1003> > for > its CFFI backend on PyPy, and it seems to work reasonably well. > > > Yeah I use verify() in the pybladeRF wrapper and it works very well, I just haven't bothered to convert pyczmq yet. Converting to verify will also allow removing the hardwired constants in the pyczmq and relying instead of cffi.verify's ability to resolve defines and enums at compile time. I'll take a stab at it tonight.
-Michel
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
