For windows users that use MINGW the shell scripts as still useful
(preferable to the .bat scripts) but they don't support symlink.
Add a little script for managing these entry points.
This change was mostly mechanically created by running this script.
The non-py version of these scripts were converted to shell scripts
in #10729. The .bat files run python explicitly so can directly
reference .py versions of these scripts.
Also, move em-config to em-config.py to match all the others.
This is one step towards using python3 by default everywhere.
Notably:
- python2 is still fully supported at this point
- The top level scripts such as `emcc` as opposed to `emcc.py` are
still run under just "python" so will work with whatever the system
default is. This is because we still want to run on the default OSX
install which doesn't python3 installed (and probably never will).
Also:
- switch circleci testing on linux to python3
- Update some docs that refer to python3
See #7198
This tool is useful to use in shell scripts, etc in order to access
variables defined in the ~/.emscripten file without depending on the
details on how to read and parse it.