提交 356b2a25 编写于 作者: I Ian Bicking

[svn r21094] Fix problem with using uninstalled pip

上级 1d209865
News for pip
==================
============
svn trunk
---------
* Fixed small problem that prevented using ``pip.py`` without actually
installing pip.
0.2
---
......
......@@ -53,7 +53,7 @@ try:
pip_dist = pkg_resources.get_distribution('pip')
version = '%s from %s (python %s)' % (
pip_dist, pip_dist.location, sys.version[:3])
except DistributionNotFound:
except pkg_resources.DistributionNotFound:
# when running pip.py without installing
version=None
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册