def load_zmq(finder, module):
"""the zmq package loads zmq.backend.cython dynamically and links
dynamically to zmq.libzmq."""
finder.IncludePackage("zmq.backend.cython")
if sys.platform == "win32":
# Not sure yet if this is cross platform
import zmq.libzmq
srcFileName = os.path.basename(zmq.libzmq.__file__)
finder.IncludeFiles(
os.path.join(module.path[0], srcFileName), srcFileName)
评论列表
文章目录