src/eric7/Documentation/Source/eric7.PipInterface.Pip.html

branch
eric7
changeset 10209
8bb763e85937
parent 9851
ec12090e9cd9
child 10392
ef315a1fdd4a
equal deleted inserted replaced
10208:d2fb44007ed3 10209:8bb763e85937
65 <tr> 65 <tr>
66 <td><a href="#Pip.__checkUpgradePyQt">__checkUpgradePyQt</a></td> 66 <td><a href="#Pip.__checkUpgradePyQt">__checkUpgradePyQt</a></td>
67 <td>Private method to check, if an upgrade of PyQt packages is attempted.</td> 67 <td>Private method to check, if an upgrade of PyQt packages is attempted.</td>
68 </tr> 68 </tr>
69 <tr> 69 <tr>
70 <td><a href="#Pip.__extractOutdatedPackages">__extractOutdatedPackages</a></td>
71 <td>Private method to extract the outdated packages list out of the process output.</td>
72 </tr>
73 <tr>
74 <td><a href="#Pip.__outdatedFinished">__outdatedFinished</a></td>
75 <td>Private method to handle the process finished signal.</td>
76 </tr>
77 <tr>
70 <td><a href="#Pip.cacheList">cacheList</a></td> 78 <td><a href="#Pip.cacheList">cacheList</a></td>
71 <td>Public method to list files contained in the pip cache.</td> 79 <td>Public method to list files contained in the pip cache.</td>
72 </tr> 80 </tr>
73 <tr> 81 <tr>
74 <td><a href="#Pip.cachePurge">cachePurge</a></td> 82 <td><a href="#Pip.cachePurge">cachePurge</a></td>
262 <dt>Return Type:</dt> 270 <dt>Return Type:</dt>
263 <dd> 271 <dd>
264 bool 272 bool
265 </dd> 273 </dd>
266 </dl> 274 </dl>
275 <a NAME="Pip.__extractOutdatedPackages" ID="Pip.__extractOutdatedPackages"></a>
276 <h4>Pip.__extractOutdatedPackages</h4>
277 <b>__extractOutdatedPackages</b>(<i>proc</i>)
278
279 <p>
280 Private method to extract the outdated packages list out of the process output.
281 </p>
282 <dl>
283
284 <dt><i>proc</i> (QProcess)</dt>
285 <dd>
286 reference to the process
287 </dd>
288 </dl>
289 <dl>
290 <dt>Return:</dt>
291 <dd>
292 list of tuples containing the package name, installed version
293 and available version
294 </dd>
295 </dl>
296 <dl>
297 <dt>Return Type:</dt>
298 <dd>
299 list of tuple of (str, str, str)
300 </dd>
301 </dl>
302 <a NAME="Pip.__outdatedFinished" ID="Pip.__outdatedFinished"></a>
303 <h4>Pip.__outdatedFinished</h4>
304 <b>__outdatedFinished</b>(<i>callback, proc, exitCode, exitStatus</i>)
305
306 <p>
307 Private method to handle the process finished signal.
308 </p>
309 <dl>
310
311 <dt><i>callback</i> (function)</dt>
312 <dd>
313 reference to the function to be called with the list of
314 outdated packages
315 </dd>
316 <dt><i>proc</i> (QProcess)</dt>
317 <dd>
318 reference to the process
319 </dd>
320 <dt><i>exitCode</i> (int)</dt>
321 <dd>
322 exit code of the process
323 </dd>
324 <dt><i>exitStatus</i> (QProcess.ExitStatus)</dt>
325 <dd>
326 exit status of the process
327 </dd>
328 </dl>
267 <a NAME="Pip.cacheList" ID="Pip.cacheList"></a> 329 <a NAME="Pip.cacheList" ID="Pip.cacheList"></a>
268 <h4>Pip.cacheList</h4> 330 <h4>Pip.cacheList</h4>
269 <b>cacheList</b>(<i>venvName</i>) 331 <b>cacheList</b>(<i>venvName</i>)
270 332
271 <p> 333 <p>
569 QNetworkAccessManager 631 QNetworkAccessManager
570 </dd> 632 </dd>
571 </dl> 633 </dl>
572 <a NAME="Pip.getOutdatedPackages" ID="Pip.getOutdatedPackages"></a> 634 <a NAME="Pip.getOutdatedPackages" ID="Pip.getOutdatedPackages"></a>
573 <h4>Pip.getOutdatedPackages</h4> 635 <h4>Pip.getOutdatedPackages</h4>
574 <b>getOutdatedPackages</b>(<i>envName, localPackages=True, notRequired=False, usersite=False, interpreter=None, </i>) 636 <b>getOutdatedPackages</b>(<i>envName, localPackages=True, notRequired=False, usersite=False, interpreter=None, callback=None, </i>)
575 637
576 <p> 638 <p>
577 Public method to get the list of outdated packages. 639 Public method to get the list of outdated packages.
578 </p> 640 </p>
579 <dl> 641 <dl>
599 </dd> 661 </dd>
600 <dt><i>interpreter</i> (str (optional))</dt> 662 <dt><i>interpreter</i> (str (optional))</dt>
601 <dd> 663 <dd>
602 path of an interpreter executable. If this is not 664 path of an interpreter executable. If this is not
603 None, it will override the given environment name (defaults to None) 665 None, it will override the given environment name (defaults to None)
666 </dd>
667 <dt><i>callback</i> (function)</dt>
668 <dd>
669 method accepting a list of tuples containing the
670 package name, installed version and available version
604 </dd> 671 </dd>
605 </dl> 672 </dl>
606 <dl> 673 <dl>
607 <dt>Return:</dt> 674 <dt>Return:</dt>
608 <dd> 675 <dd>

eric ide

mercurial