Commit f6d0837
committed
Fix version detection (setuptools and distribute)
The versions of `distribute`, `pip`, `setuptools` and `wsgiref` are
excluded from the output of `pip freeze`, however they do show up in the
output from `pip list`. This allows us to use a more general
implentation of parsing the output from `pip list` to get the current
version of all distributions.
Also removes a dependency on `grep`.
Distributions excluded from `pip freeze`:
/pypa/pip/blob/2ad8888901c041b8f9aacebb3a16d55bf631e867/pip/util.py#L3721 parent 574ad93 commit f6d0837
1 file changed
+6
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
117 | 114 | | |
118 | | - | |
119 | | - | |
| 115 | + | |
120 | 116 | | |
121 | 117 | | |
122 | 118 | | |
| |||
0 commit comments