Apparently py2exe doesn't run site.py, so it doesn't run the custom sitecustomize.py, so we can't use the same mechanism as the macOS app. But I see that contrib/hg is the base script run by py2exe, and it already drops cwd from `sys.path`. Yuya, do you think it's reasonable to:
- extend `sys.path` there with `os.path.join(os.environ['APPDATA'], 'Python', 'Python2.7', 'site-packages')` (which corresponds to `pip install --user`)
- drop hg-git and dependencies
- tell users that it's on them to install hg-git dependencies via pip, and clone hg-git from source
?
It seems like with hg-git lagging behind a bit for awhile now and the complex dependencies, it's not something we can bundle well. But this would still provide a mechanism to use it.