Documentation/Source/eric6.VirtualEnv.VirtualenvManager.html

changeset 6503
e617c58807e8
parent 6382
4d6e43200bc7
child 6576
ea60ea85067a
equal deleted inserted replaced
6502:07070e95be4d 6503:e617c58807e8
46 </p> 46 </p>
47 <h3>Derived from</h3> 47 <h3>Derived from</h3>
48 QObject 48 QObject
49 <h3>Class Attributes</h3> 49 <h3>Class Attributes</h3>
50 <table> 50 <table>
51 <tr><td>None</td></tr> 51 <tr><td>DefaultKey</td></tr>
52 </table> 52 </table>
53 <h3>Class Methods</h3> 53 <h3>Class Methods</h3>
54 <table> 54 <table>
55 <tr><td>None</td></tr> 55 <tr><td>None</td></tr>
56 </table> 56 </table>
75 <td><a href="#VirtualenvManager.createVirtualEnv">createVirtualEnv</a></td> 75 <td><a href="#VirtualenvManager.createVirtualEnv">createVirtualEnv</a></td>
76 <td>Public slot to create a new virtual environment.</td> 76 <td>Public slot to create a new virtual environment.</td>
77 </tr><tr> 77 </tr><tr>
78 <td><a href="#VirtualenvManager.deleteVirtualEnvs">deleteVirtualEnvs</a></td> 78 <td><a href="#VirtualenvManager.deleteVirtualEnvs">deleteVirtualEnvs</a></td>
79 <td>Public method to delete virtual environments from the list and disk.</td> 79 <td>Public method to delete virtual environments from the list and disk.</td>
80 </tr><tr>
81 <td><a href="#VirtualenvManager.getDefaultEnvironment">getDefaultEnvironment</a></td>
82 <td>Public method to get the default virtual environment.</td>
80 </tr><tr> 83 </tr><tr>
81 <td><a href="#VirtualenvManager.getEnvironmentEntries">getEnvironmentEntries</a></td> 84 <td><a href="#VirtualenvManager.getEnvironmentEntries">getEnvironmentEntries</a></td>
82 <td>Public method to get a dictionary containing the defined virtual environment entries.</td> 85 <td>Public method to get a dictionary containing the defined virtual environment entries.</td>
83 </tr><tr> 86 </tr><tr>
84 <td><a href="#VirtualenvManager.getVirtualenvDirectory">getVirtualenvDirectory</a></td> 87 <td><a href="#VirtualenvManager.getVirtualenvDirectory">getVirtualenvDirectory</a></td>
194 Public method to delete virtual environments from the list and disk. 197 Public method to delete virtual environments from the list and disk.
195 </p><dl> 198 </p><dl>
196 <dt><i>venvNames</i> (list of str)</dt> 199 <dt><i>venvNames</i> (list of str)</dt>
197 <dd> 200 <dd>
198 list of logical names for the virtual environments 201 list of logical names for the virtual environments
202 </dd>
203 </dl><a NAME="VirtualenvManager.getDefaultEnvironment" ID="VirtualenvManager.getDefaultEnvironment"></a>
204 <h4>VirtualenvManager.getDefaultEnvironment</h4>
205 <b>getDefaultEnvironment</b>(<i></i>)
206 <p>
207 Public method to get the default virtual environment.
208 </p><p>
209 Default is an environment with the key '<default>' or the first one
210 having an interpreter matching sys.executable (i.e. the one used to
211 execute eric6 with)
212 </p><dl>
213 <dt>Returns:</dt>
214 <dd>
215 tuple containing the environment name and a dictionary
216 containing a copy of the default virtual environment
217 </dd>
218 </dl><dl>
219 <dt>Return Type:</dt>
220 <dd>
221 tuple of (str, dict)
199 </dd> 222 </dd>
200 </dl><a NAME="VirtualenvManager.getEnvironmentEntries" ID="VirtualenvManager.getEnvironmentEntries"></a> 223 </dl><a NAME="VirtualenvManager.getEnvironmentEntries" ID="VirtualenvManager.getEnvironmentEntries"></a>
201 <h4>VirtualenvManager.getEnvironmentEntries</h4> 224 <h4>VirtualenvManager.getEnvironmentEntries</h4>
202 <b>getEnvironmentEntries</b>(<i></i>) 225 <b>getEnvironmentEntries</b>(<i></i>)
203 <p> 226 <p>

eric ide

mercurial