python: Unset Python environment variables
authorJeffery To <jeffery.to@gmail.com>
Thu, 2 Mar 2023 15:35:00 +0000 (23:35 +0800)
committerJeffery To <jeffery.to@gmail.com>
Thu, 30 Mar 2023 04:19:04 +0000 (12:19 +0800)
commit6ef46bb9194b5d3f5fc17471d8869bcae729d215
tree5b4aacef29f618a414222f334596a3e14b4f2247
parentc7331194cb93a5d459e0ef9ea9af99a01f1eef1d
python: Unset Python environment variables

This will prevent the user's environment variables from affecting host
Python, removing the need to manually override these variables.

It is also not necessary to set PYTHONPATH (when not working on target
Python packages) because the given directories are already included in
Python's search path by default.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
lang/python/python3-host.mk
lang/python/python3-package.mk