[Python-checkins] python/dist/src/Lib/plat-mac bundlebuilder.py,1.20,1.21
jvr@users.sourceforge.net
jvr@users.sourceforge.net
Thu, 20 Mar 2003 13:37:50 -0800
Update of /cvsroot/python/python/dist/src/Lib/plat-mac
In directory sc8-pr-cvs1:/tmp/cvs-serv2916
Modified Files:
bundlebuilder.py
Log Message:
set $PYTHONHOME in the bootstrap script, for no good reason really,
except to avoid getpath.c giving unsollicited advice on stderr.
Index: bundlebuilder.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/bundlebuilder.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** bundlebuilder.py 5 Mar 2003 14:44:54 -0000 1.20
--- bundlebuilder.py 20 Mar 2003 21:37:05 -0000 1.21
***************
*** 273,276 ****
--- 273,277 ----
sys.argv.insert(1, mainprogram)
os.environ["PYTHONPATH"] = resdir
+ os.environ["PYTHONHOME"] = resdir
os.environ["PYTHONEXECUTABLE"] = executable
os.execve(executable, sys.argv, os.environ)