setupext.py 文件源码

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

项目:SlackBuilds 作者: montagdude 项目源码 文件源码
def check(self):
        try:
            import six
        except ImportError:
            raise CheckFailed("six was not found.")

        if not is_min_version(six.__version__, self.min_version):
            return ("The installed version of six is {inst_ver} but "
                    "a the minimum required version is {min_ver}. "
                    "pip/easy install will attempt to install a "
                    "newer version."
                    ).format(min_ver=self.min_version,
                             inst_ver=six.__version__)

        return "using six version %s" % six.__version__
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号