hooks.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:cx_Freeze 作者: anthony-tuininga 项目源码 文件源码
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)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号