--- a/src/eric7/Documentation/Source/eric7.SystemUtilities.PythonUtilities.html Wed Nov 29 14:32:18 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.SystemUtilities.PythonUtilities.html Wed Nov 29 14:34:13 2023 +0100 @@ -26,10 +26,22 @@ <table> <tr> +<td><a href="#__searchInterpreters_Linux">__searchInterpreters_Linux</a></td> +<td>Function to determine a list of all Python interpreters available via the executable search path (i.e.</td> +</tr> +<tr> +<td><a href="#__searchInterpreters_Windows">__searchInterpreters_Windows</a></td> +<td>Function to determine a list of all Python interpreters available via the executable search path (i.e.</td> +</tr> +<tr> <td><a href="#determinePythonVersion">determinePythonVersion</a></td> <td>Function to determine the python version of a given file.</td> </tr> <tr> +<td><a href="#getExePath">getExePath</a></td> +<td></td> +</tr> +<tr> <td><a href="#getPythonExecutable">getPythonExecutable</a></td> <td>Function to determine the path of the (non-windowed) Python executable.</td> </tr> @@ -49,9 +61,75 @@ <td><a href="#getPythonVersion">getPythonVersion</a></td> <td>Function to get the Python version (major, minor) as an integer value.</td> </tr> +<tr> +<td><a href="#searchInterpreters">searchInterpreters</a></td> +<td>Function to determine a list of all Python interpreters available via the executable search path (i.e.</td> +</tr> </table> <hr /> <hr /> +<a NAME="__searchInterpreters_Linux" ID="__searchInterpreters_Linux"></a> +<h2>__searchInterpreters_Linux</h2> +<b>__searchInterpreters_Linux</b>(<i>environments=None</i>) + +<p> + Function to determine a list of all Python interpreters available via the + executable search path (i.e. PATH) (non Windows variant). +</p> +<dl> + +<dt><i>environments</i> (list of str (optional))</dt> +<dd> +list of environment directories to scan for Python interpreters + (defaults to None) +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +list of found interpreter executables +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +list of str +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="__searchInterpreters_Windows" ID="__searchInterpreters_Windows"></a> +<h2>__searchInterpreters_Windows</h2> +<b>__searchInterpreters_Windows</b>(<i>environments=None</i>) + +<p> + Function to determine a list of all Python interpreters available via the + executable search path (i.e. PATH) (Windows variant). +</p> +<dl> + +<dt><i>environments</i> (list of str (optional))</dt> +<dd> +list of environment directories to scan for Python interpreters + (defaults to None) +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +list of found interpreter executables +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +list of str +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> <a NAME="determinePythonVersion" ID="determinePythonVersion"></a> <h2>determinePythonVersion</h2> <b>determinePythonVersion</b>(<i>filename, source, editor=None</i>) @@ -84,6 +162,13 @@ <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> +<a NAME="getExePath" ID="getExePath"></a> +<h2>getExePath</h2> +<b>getExePath</b>(<i>branch, access, versionStr</i>) + +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> <a NAME="getPythonExecutable" ID="getPythonExecutable"></a> <h2>getPythonExecutable</h2> <b>getPythonExecutable</b>(<i></i>) @@ -181,4 +266,35 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /> +<hr /> +<a NAME="searchInterpreters" ID="searchInterpreters"></a> +<h2>searchInterpreters</h2> +<b>searchInterpreters</b>(<i>environments=None</i>) + +<p> + Function to determine a list of all Python interpreters available via the + executable search path (i.e. PATH) (Windows variant). +</p> +<dl> + +<dt><i>environments</i> (list of str (optional))</dt> +<dd> +list of environment directories to scan for Python interpreters + (defaults to None) +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +list of found interpreter executables +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +list of str +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> </body></html> \ No newline at end of file