Files
UnrealEngineUWP/Engine/Plugins/Experimental/PythonScriptPlugin/Source
Jamie Dale f3b5253145 Isolate the embedded Python interpreter from the general Python system environment
The following flags are now set when initializing the embedded Python interpreter:
 - Py_IgnoreEnvironmentFlag - Ignore PYTHONPATH when calculating sys.path.
 - Py_IsolatedFlag - Skip adding the user's site-packages directory to sys.path.

To counter the loss of PYTHONPATH, a new UE_PYTHONPATH environment variable is now available with the same rules as PYTHONPATH.

#jira UE-113583
#rb Rex.Hill

[CL 16064481 by Jamie Dale in ue5-main branch]
2021-04-20 14:53:29 -04:00
..