Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable system site-packages via GENTOO_CPYTHON_BUILD var
Do not add system site-packages directory to sys.path if GENTOO_CPYTHON_BUILD variable is set. This solves multiple issues while building and testing CPython, particularly test suite issues from installed .pth files, Python modules (particularly docutils) and sandbox violations from attempting to write byte-compiled modules back. Signed-off-by: Michał Górny <[email protected]>
- Loading branch information