setup.py 文件源码

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

项目:deb-msgpack-python 作者: openstack 项目源码 文件源码
def build_extension(self, ext):
        try:
            ext.sources = list(map(ensure_source, ext.sources))
        except NoCython:
            print("WARNING")
            print("Cython is required for building extension from checkout.")
            print("Install Cython >= 0.16 or install msgpack from PyPI.")
            print("Falling back to pure Python implementation.")
            return
        try:
            return build_ext.build_extension(self, ext)
        except Exception as e:
            print("WARNING: Failed to compile extension modules.")
            print("msgpack uses fallback pure python implementation.")
            print(e)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号