From: Just van Rossum Date: Thu, 20 Mar 2003 21:37:05 +0000 (+0000) Subject: set $PYTHONHOME in the bootstrap script, for no good reason really, X-Git-Tag: v2.3c1~1430 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a87e44792c6d85da996757a7bb260d888d242eb1;p=thirdparty%2FPython%2Fcpython.git set $PYTHONHOME in the bootstrap script, for no good reason really, except to avoid getpath.c giving unsollicited advice on stderr. --- diff --git a/Lib/plat-mac/bundlebuilder.py b/Lib/plat-mac/bundlebuilder.py index 9e4fc910be1f..5fe2c6001f0f 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) """