EXTENSION_PYTHON_LIST - UAG configuration option

Description

The EXTENSION_PYTHON_LIST option specifies Python interpreters that are eligible to run Universal Extensions.

Usage

Method

Syntax

IBM i

UNIX

Windows

z/OS

Configuration File Keyword

extension_python_list list


(tick)

(tick)


Values

list is a comma-delimited list of zero or more absolute paths to Python interpreters that UAG Server will consider for Universal Extension execution. UAG Server uses the first Python interpreter that satisfies the Extension's Python version requirement to execute the Extension.

UAG Server will look first for the Python interpreter supplied by the Universal Agent package's Python distribution, unless the path to that interpreter is explicitly specified in list

If the Agent's Python distribution is not found or does not satisfy the Universal Extension's requirement, UAG Server checks the default locations (see below) or the user-specified list.

On Windows, a final check is made (if necessary) against external Python installations whose install locations are recorded in the Windows system registry under HKLM\SOFTWARE\Python\PythonCore.

If the EXTENSION_ACCEPT_LIST is empty or set to none, the search for available Python interpreters is skipped.


UNIXDefault value for list is /usr/bin/python3,usr/bin/python,/usr/libexec/platform-python.
Windows

No default value for list, but an empty or missing list will still cause UAG Server to check the Universal Agent-supplied Python distribution and the Windows system registry as described above.