Python default features

Hi,

so I’ve changed the /configure part in build_linux_python.sh to the following to also enable SSL in the python build. You have to build the ssl package first.

MY_PREFIX=/.../openssl-1.0.2t/release/usr/local/ssl

./configure --enable-optimizations --enable-shared --enable-unicode=ucs4 \
LDFLAGS="-L$MY_PREFIX/lib -L$MY_PREFIX/lib64 -Wl,-rpath=$MY_PREFIX/lib" \
LD_LIBRARY_PATH="$MY_PREFIX/lib:$MY_PREFIX/lib64" \
CPPFLAGS="-I$MY_PREFIX/include -I$MY_PREFIX/ssl -fPIC" \

Then the probably easiest solution is to copy the lib and header files to the Engine/Source/ThirdParty/Python/Linux folder.

Another way is to go to the Python.Build.cs file and add this at line 27:

if (PythonSDK == null)
{
	var customBuildPath = Path.Combine(EngineDir, "Source/ThirdParty/Python/Build/Linux/usr/local");

	Console.WriteLine("Custom Python SDK path: " + customBuildPath);

	if (Target.Platform == UnrealTargetPlatform.Linux)
	{
		PythonSDK = DiscoverPythonSDK(customBuildPath);
	}
}

This should get you working. Maybe you also have to check if the DiscoverPythonSDK works correctly with your build Python SDK version.

Cheers