Documentation/Source/eric6.install.html

changeset 6215
4f4581b7a02a
parent 5651
982465f8389c
child 6495
6e73d31af3af
equal deleted inserted replaced
6214:89a53d80e729 6215:4f4581b7a02a
89 <td>Actually perform the installation steps.</td> 89 <td>Actually perform the installation steps.</td>
90 </tr><tr> 90 </tr><tr>
91 <td><a href="#main">main</a></td> 91 <td><a href="#main">main</a></td>
92 <td>The main function of the script.</td> 92 <td>The main function of the script.</td>
93 </tr><tr> 93 </tr><tr>
94 <td><a href="#pipInstall">pipInstall</a></td>
95 <td>Install the given package via pip.</td>
96 </tr><tr>
94 <td><a href="#prepareInfoFile">prepareInfoFile</a></td> 97 <td><a href="#prepareInfoFile">prepareInfoFile</a></td>
95 <td>Function to prepare an Info.py file when installing from source.</td> 98 <td>Function to prepare an Info.py file when installing from source.</td>
96 </tr><tr> 99 </tr><tr>
97 <td><a href="#shutilCopy">shutilCopy</a></td> 100 <td><a href="#shutilCopy">shutilCopy</a></td>
98 <td>Wrapper function around shutil.copy() to ensure the permissions.</td> 101 <td>Wrapper function around shutil.copy() to ensure the permissions.</td>
364 the list of command line arguments. 367 the list of command line arguments.
365 </dd> 368 </dd>
366 </dl> 369 </dl>
367 <div align="right"><a href="#top">Up</a></div> 370 <div align="right"><a href="#top">Up</a></div>
368 <hr /><hr /> 371 <hr /><hr />
372 <a NAME="pipInstall" ID="pipInstall"></a>
373 <h2>pipInstall</h2>
374 <b>pipInstall</b>(<i>packageName, message</i>)
375 <p>
376 Install the given package via pip.
377 </p><dl>
378 <dt><i>packageName</i> (str)</dt>
379 <dd>
380 name of the package to be installed
381 </dd><dt><i>message</i> (str)</dt>
382 <dd>
383 message to be shown to the user
384 </dd>
385 </dl><dl>
386 <dt>Returns:</dt>
387 <dd>
388 flag indicating a successful installation
389 </dd>
390 </dl><dl>
391 <dt>Return Type:</dt>
392 <dd>
393 bool
394 </dd>
395 </dl>
396 <div align="right"><a href="#top">Up</a></div>
397 <hr /><hr />
369 <a NAME="prepareInfoFile" ID="prepareInfoFile"></a> 398 <a NAME="prepareInfoFile" ID="prepareInfoFile"></a>
370 <h2>prepareInfoFile</h2> 399 <h2>prepareInfoFile</h2>
371 <b>prepareInfoFile</b>(<i>fileName</i>) 400 <b>prepareInfoFile</b>(<i>fileName</i>)
372 <p> 401 <p>
373 Function to prepare an Info.py file when installing from source. 402 Function to prepare an Info.py file when installing from source.

eric ide

mercurial