diff options
author | Just van Rossum <just@letterror.com> | 2003-03-20 21:37:05 (GMT) |
---|---|---|
committer | Just van Rossum <just@letterror.com> | 2003-03-20 21:37:05 (GMT) |
commit | a87e44792c6d85da996757a7bb260d888d242eb1 (patch) | |
tree | 2e3288c03ae12ceaf676e8848d858de04327482d /Lib/plat-mac | |
parent | 9905b943f79a03741b062c82bdf96a078df303e4 (diff) | |
download | cpython-a87e44792c6d85da996757a7bb260d888d242eb1.zip cpython-a87e44792c6d85da996757a7bb260d888d242eb1.tar.gz cpython-a87e44792c6d85da996757a7bb260d888d242eb1.tar.bz2 |
set $PYTHONHOME in the bootstrap script, for no good reason really,
except to avoid getpath.c giving unsollicited advice on stderr.
Diffstat (limited to 'Lib/plat-mac')
-rwxr-xr-x | Lib/plat-mac/bundlebuilder.py | 1 |
1 files changed, 1 insertions, 0 deletions
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) """ |