setupext.py 文件源码

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

项目:SlackBuilds 作者: montagdude 项目源码 文件源码
def check(self):
        min_version = extract_versions()['__version__numpy__']
        try:
            import numpy
        except ImportError:
            raise CheckFailed(
                    "could not be found" )
        if not is_min_version(numpy.__version__, min_version):
            raise CheckFailed(
                "requires numpy %s or later to build.  (Found %s)" %
                (min_version, numpy.__version__))

        return 'version %s' % numpy.__version__
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号