summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mac/scripts/fullbuild.py3
-rw-r--r--Mac/scripts/genpluginprojects.py3
2 files changed, 5 insertions, 1 deletions
diff --git a/Mac/scripts/fullbuild.py b/Mac/scripts/fullbuild.py
index d3a5a13..43d69e6 100644
--- a/Mac/scripts/fullbuild.py
+++ b/Mac/scripts/fullbuild.py
@@ -18,6 +18,7 @@ import MacOS
import EasyDialogs
import re
import string
+import genpluginprojects
import aetools
import AppleEvents
@@ -377,6 +378,8 @@ def main():
if not ok:
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))
diff --git a/Mac/scripts/genpluginprojects.py b/Mac/scripts/genpluginprojects.py
index ead0c24..0ee6bce 100644
--- a/Mac/scripts/genpluginprojects.py
+++ b/Mac/scripts/genpluginprojects.py
@@ -3,7 +3,8 @@ import sys
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",