[Python-checkins] CVS: python/dist/src/Mac/scripts fullbuild.py,1.69,1.70

Jack Jansen jackjansen@users.sourceforge.net
Thu, 16 Aug 2001 13:39:11 -0700


Update of /cvsroot/python/python/dist/src/Mac/scripts
In directory usw-pr-cvs1:/tmp/cvs-serv13643/Python/Mac/scripts

Modified Files:
	fullbuild.py 
Log Message:
If genpluginprojects is called from fullbuild we set the Python source directory to be the same as fullbuild uses (in stead of using the default sys.prefix). This fixes an issue Mark Day raised that you can't use fullbuild with one Python installation to build another one.

Index: fullbuild.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/scripts/fullbuild.py,v
retrieving revision 1.69
retrieving revision 1.70
diff -C2 -d -r1.69 -r1.70
*** fullbuild.py	2001/08/07 13:53:25	1.69
--- fullbuild.py	2001/08/16 20:39:09	1.70
***************
*** 19,22 ****
--- 19,23 ----
  import re
  import string
+ import genpluginprojects
  
  import aetools
***************
*** 378,381 ****
--- 379,384 ----
  		sys.exit(0)
  	dir = dir.as_pathname()
+ 	# Set genpluginprojects to use this folder (slight hack)
+ 	genpluginprojects.PYTHONDIR = dir
  	
  	todo = handle_dialog(os.path.join(dir, MACBUILDNO))