setup.py 文件源码

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

项目:inxs 作者: funkyfuture 项目源码 文件源码
def install_lxml():
        try:
            import cython  # noqa: F401
        except ImportError:
            cython_was_installed = False
            pip(['install', '-v', 'cython'])
        else:
            cython_was_installed = True

        pip(['install', '-v', 'https://github.com/funkyfuture/lxml/tarball/smart_xpath#egg=lxml'])

        if not cython_was_installed:
            pip(['uninstall', '--yes', '-v', 'cython'])
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号