mirror of https://github.com/pypa/pip
[svn r21094] Fix problem with using uninstalled pip
This commit is contained in:
parent
1d2098651c
commit
356b2a2547
|
@ -1,5 +1,11 @@
|
|||
News for pip
|
||||
==================
|
||||
============
|
||||
|
||||
svn trunk
|
||||
---------
|
||||
|
||||
* Fixed small problem that prevented using ``pip.py`` without actually
|
||||
installing pip.
|
||||
|
||||
0.2
|
||||
---
|
||||
|
|
2
pip.py
2
pip.py
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue