Fix post-install.py on Windows without pkg-config
-
Prepend
gtk_bindirtoPATH. If GLib is built as a subproject, this will allow runningglib-compile-schemasandgio-querymoduleswithout full path. -
Don't fail when
pkg-configis not available. Just try to run everything without full paths (as if pkg-config variables were unavailable).
Also use argparse to parse command line arguments.
Fixes #3723 (closed)