mirror of
https://github.com/facebook/sapling.git
synced 2025-01-08 14:46:47 +03:00
aa1986fcf2
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 |
||
---|---|---|
.. | ||
.gitignore | ||
0001-windows_builds-increase-the-MAXPATHLEN-constant-and-.patch | ||
0002-windows-make-subprocess-work-with-non-inheritable-st.patch | ||
0003-PCbuild-make-it-build-with-VC-2015.patch | ||
0004-PCbuild-disable-tests-by-default.patch | ||
0005-PC-aggressively-simplify-sys.path.patch | ||
0006-PC-make-modules-builtin.patch | ||
0007-bpo-36778-cp65001-encoding-becomes-an-alias-to-utf_8.patch | ||
0008-PC-add-_curses-builtin-module.patch | ||
0009-main-make-main.c-update-sys.path-for-argv-0.patch | ||
build.py |