--- a/eric7/Documentation/Source/eric7.VirtualEnv.VirtualenvManager.html Sat Mar 05 18:10:28 2022 +0100 +++ b/eric7/Documentation/Source/eric7.VirtualEnv.VirtualenvManager.html Sun Mar 06 19:53:19 2022 +0100 @@ -107,6 +107,10 @@ <td>Public method to delete virtual environments from the list and disk.</td> </tr> <tr> +<td><a href="#VirtualenvManager.environmentForInterpreter">environmentForInterpreter</a></td> +<td>Public method to get the environment a given interpreter belongs to.</td> +</tr> +<tr> <td><a href="#VirtualenvManager.getDefaultEnvironment">getDefaultEnvironment</a></td> <td>Public method to get the default virtual environment.</td> </tr> @@ -299,6 +303,33 @@ list of logical names for the virtual environments </dd> </dl> +<a NAME="VirtualenvManager.environmentForInterpreter" ID="VirtualenvManager.environmentForInterpreter"></a> +<h4>VirtualenvManager.environmentForInterpreter</h4> +<b>environmentForInterpreter</b>(<i>interpreter</i>) + +<p> + Public method to get the environment a given interpreter belongs to. +</p> +<dl> + +<dt><i>interpreter</i> (str)</dt> +<dd> +path of the interpreter +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +tuple containing the environment name and a dictionary + containing a copy of the default virtual environment +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (str, dict) +</dd> +</dl> <a NAME="VirtualenvManager.getDefaultEnvironment" ID="VirtualenvManager.getDefaultEnvironment"></a> <h4>VirtualenvManager.getDefaultEnvironment</h4> <b>getDefaultEnvironment</b>(<i></i>)