We want to strip some PYTHON* environment variables that can change import
paths, since these can "break" pyz_binaries. For example, if executing a
pyz_binary while inside a virtual environment. However, this broke a
program that used an unrelated environment variable named PYTHON_SOMETHING.
Be conservative about what environment variables to disable.
We want to strip some PYTHON* environment variables that can change import paths, since these can "break" pyz_binaries. For example, if executing a pyz_binary while inside a virtual environment. However, this broke a program that used an unrelated environment variable named PYTHON_SOMETHING. Be conservative about what environment variables to disable.