python,python3: Disable user site-packages for host Python
authorJeffery To <redacted>
Wed, 29 May 2019 14:03:18 +0000 (22:03 +0800)
committerJeffery To <redacted>
Wed, 29 May 2019 14:03:18 +0000 (22:03 +0800)
commit87a31e49f77ea252e454eeb780fee8342119bab0
treee655524634f84fe5966ff6d27ee5cf13c6798307
parentae80ddc7ab1486a2e4788a8bd4b9c1643ce29c29
python,python3: Disable user site-packages for host Python

Normally, Python will include the user's site-packages directory
(~/.local/lib/python$(PYTHON_VERSION)/site-packages) in it's internal
search path for modules.

This disables this default inclusion for host Python.

This change is applied during Host/Configure instead of as a patch to
keep this setting unchanged for target Python.

Signed-off-by: Jeffery To <redacted>
lang/python/python/Makefile
lang/python/python3/Makefile
git clone https://git.99rst.org/PROJECT