From a87e44792c6d85da996757a7bb260d888d242eb1 Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Thu, 20 Mar 2003 21:37:05 +0000 Subject: set $PYTHONHOME in the bootstrap script, for no good reason really, except to avoid getpath.c giving unsollicited advice on stderr. --- Lib/plat-mac/bundlebuilder.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/plat-mac/bundlebuilder.py b/Lib/plat-mac/bundlebuilder.py index 9e4fc91..5fe2c60 100755 --- a/Lib/plat-mac/bundlebuilder.py +++ b/Lib/plat-mac/bundlebuilder.py @@ -272,6 +272,7 @@ mainprogram = os.path.join(resdir, "%(mainprogram)s") sys.argv.insert(1, mainprogram) os.environ["PYTHONPATH"] = resdir +os.environ["PYTHONHOME"] = resdir os.environ["PYTHONEXECUTABLE"] = executable os.execve(executable, sys.argv, os.environ) """ -- cgit v0.12