Hi,

With only a few changes (see diff below) to pavement.py I managed to build a dmg installer. For this I used the Python in the bootstrap virtualenv however, instead of the one in /Library/Frameworks/Python.framework/. Does this matter?

I don't have a framework build installed, the 4-way universal build did not work for me out of the box a while ago, and installer downloads from python.org are blocked here (thanks Chinese Govt., the Great Firewall is an impressive productivity killer). So I stuck with the default Apple Python till now.

For making releases, would I need the framework build? Do I need 32- and 64-bit versions of Python 2.4, 2.5 and 2.6?

Cheers,
Ralf



diff --git a/pavement.py b/pavement.py
index f6c1433..bc931ec 100644
--- a/pavement.py
+++ b/pavement.py
@@ -88,12 +88,13 @@ SUPERPACK_BUILD = 'build-superpack'
 SUPERPACK_BINDIR = os.path.join(SUPERPACK_BUILD, 'binaries')
 
 options(bootstrap=Bunch(bootstrap_dir="bootstrap"),
-        virtualenv=Bunch(packages_to_install=["sphinx", "numpydoc"], no_site_packages=True),
+        virtualenv=Bunch(packages_to_install=["sphinx", "numpydoc"],
+        no_site_packages=False),
         sphinx=Bunch(builddir="build", sourcedir="source", docroot='doc'),
         superpack=Bunch(builddir="build-superpack"),
         installers=Bunch(releasedir="release",
                          installersdir=os.path.join("release", "installers")),
-        doc=Bunch(doc_root="doc",
+        doc=Bunch(doc_root="doc",
             sdir=os.path.join("doc", "source"),
             bdir=os.path.join("doc", "build"),
             bdir_latex=os.path.join("doc", "build", "latex"),
@@ -106,7 +107,7 @@ options(bootstrap=Bunch(bootstrap_dir="bootstrap"),
 
 MPKG_PYTHON = {
         "2.5": ["/Library/Frameworks/Python.framework/Versions/2.5/bin/python"],
-        "2.6": ["/Library/Frameworks/Python.framework/Versions/2.6/bin/python"]
+        "2.6": ["python"]
 }
 
 SSE3_CFG = {'ATLAS': r'C:\local\lib\yop\sse3'}
@@ -206,7 +207,7 @@ def bdist_superpack(options):
     copy_bdist("sse2")
     bdist_wininst_arch(pyver, 'sse3')
     copy_bdist("sse3")
-   
+
     idirs = options.installers.installersdir
     pyver = options.python_version
     prepare_nsis_script(pyver, FULLVERSION)
@@ -273,8 +274,8 @@ def bootstrap(options):
 
     options.virtualenv.script_name = os.path.join(options.bootstrap_dir,
                                                   bscript)
-    options.virtualenv.no_site_packages = True
-    options.bootstrap.no_site_packages = True
+    options.virtualenv.no_site_packages = False
+    options.bootstrap.no_site_packages = False
     call_task('paver.virtual.bootstrap')
     sh('cd %s; %s %s' % (bdir, sys.executable, bscript))