Updates #4037
Closes #4037
The command python has been removed from upstream python and python2 and python3 is now used. This patch wraps the commands in a shell script that locates a suitable python to run. Updates #3537
Fix Windows support to allow MSYS2 Python to be used. Updates #2619.