diff Mac/scripts/genpluginprojects.py @ 19321:42246b8c58bb legacy-trunk

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.
author Jack Jansen <jack.jansen@cwi.nl>
date Thu, 16 Aug 2001 20:39:17 +0000
parents 0ab8f937ff66
children b22658a468cf
line wrap: on
line diff
--- a/Mac/scripts/genpluginprojects.py	Thu Aug 16 20:33:48 2001 +0000
+++ b/Mac/scripts/genpluginprojects.py	Thu Aug 16 20:39:17 2001 +0000
@@ -3,7 +3,8 @@
 import os
 import string
 
-PROJECTDIR = os.path.join(sys.prefix, ":Mac:Build")
+PYTHONDIR = sys.prefix
+PROJECTDIR = os.path.join(PYTHONDIR, ":Mac:Build")
 MODULEDIRS = [	# Relative to projectdirs
 	"::Modules:%s",
 	"::Modules",