sapling/contrib/python2-winbuild
Jun Wu aa1986fcf2 windows: add a patch to make python.exe search for argv[0] path
Summary:
This makes it possible for `python setup.py` to import `distutils_rust` without
changing sys.path. The `argv[0]` path being part of `sys.path` is the expected
Python interpreter behavior.

Note: the `argv[0]` path is used in hgmain for POSIX, but not Windows because
of `0005-PC-aggressively-simplify-sys.path.patch`. That is desirable since on
Windows, the "main exe path" is the `argv[0]` path, and it already exists in
the default `sys.path`.

Reviewed By: ikostia

Differential Revision: D15935893

fbshipit-source-id: a759440ef3103dfdd49d97727ea74d09afe1d881
2019-06-21 10:07:01 -07:00
..
.gitignore windows: add a script to upload the Python build result 2019-06-20 11:18:24 -07:00
0001-windows_builds-increase-the-MAXPATHLEN-constant-and-.patch windows: add script to build Python runtime on Windows 2019-06-19 17:55:48 -07:00
0002-windows-make-subprocess-work-with-non-inheritable-st.patch windows: add script to build Python runtime on Windows 2019-06-19 17:55:48 -07:00
0003-PCbuild-make-it-build-with-VC-2015.patch windows: add script to build Python runtime on Windows 2019-06-19 17:55:48 -07:00
0004-PCbuild-disable-tests-by-default.patch windows: add script to build Python runtime on Windows 2019-06-19 17:55:48 -07:00
0005-PC-aggressively-simplify-sys.path.patch windows: remove unnecessary parts from the default sys.path 2019-06-19 17:55:48 -07:00
0006-PC-make-modules-builtin.patch windows: move most native modules to builtin 2019-06-19 17:55:48 -07:00
0007-bpo-36778-cp65001-encoding-becomes-an-alias-to-utf_8.patch windows: backport cp65001 codec patch from Python 3 2019-06-19 17:55:49 -07:00
0008-PC-add-_curses-builtin-module.patch windows: fix PDcurses build 2019-06-21 10:07:00 -07:00
0009-main-make-main.c-update-sys.path-for-argv-0.patch windows: add a patch to make python.exe search for argv[0] path 2019-06-21 10:07:01 -07:00
build.py windows: add script to build Python runtime on Windows 2019-06-19 17:55:48 -07:00