➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 ncoghlan
收信人 dstufft, loewis, ncoghlan, ned.deily
日期 2013-11-25.06:23:02
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1385360583.11.0.280128794516.issue19728@psf.upfronthosting.co.za>
In-reply-to
内容
Given MvL's comment above, my suggestion is that we add an "ensurepip._uninstall" submodule that uninstalls pip and setuptools if it is invoked as __main__ and the following snippet results in uinstall being set to True:

    try:
        import pip
    except ImportError:
        uninstall = False
    else:
        uninstall = (pip.__version__ == ensurepip.version())

(I believe PIP_VERSION in ensurepip is currently wrong, as it has an extra dot that shouldn't be there, but we can fix that as part of implementing this, and tweak the test in test_venv to ensure it doesn't get out of sync again)
历史
日期 用户 动作 参数
2013-11-25 06:23:03ncoghlan修改recipients: + ncoghlan, loewis, ned.deily, dstufft
2013-11-25 06:23:03ncoghlan修改messageid: <1385360583.11.0.280128794516.issue19728@psf.upfronthosting.co.za>
2013-11-25 06:23:03ncoghlan链接issue19728 messages
2013-11-25 06:23:02ncoghlan创建