diff options
Diffstat (limited to 'Mac/BuildScript')
-rw-r--r-- | Mac/BuildScript/README.txt | 74 |
1 files changed, 58 insertions, 16 deletions
diff --git a/Mac/BuildScript/README.txt b/Mac/BuildScript/README.txt index 3ae638f..fa04b97 100644 --- a/Mac/BuildScript/README.txt +++ b/Mac/BuildScript/README.txt @@ -8,35 +8,36 @@ $DESTROOT, massages that installation to remove .pyc files and such, creates an Installer package from the installation plus other files in ``resources`` and ``scripts`` and placed that on a ``.dmg`` disk image. -For Python 2.7.x and 3.2.x, PSF practice is to build two installer variants +As of Python 3.3.0, PSF practice is to build two installer variants for each release. 1. 32-bit-only, i386 and PPC universal, capable on running on all machines - supported by Mac OS X 10.3.9 through (at least) 10.8:: + supported by Mac OS X 10.5 through (at least) 10.8:: /usr/bin/python build-installer.py \ - --sdk-path=/Developer/SDKs/MacOSX10.4u.sdk \ + --sdk-path=/Developer/SDKs/MacOSX10.5.sdk \ --universal-archs=32-bit \ - --dep-target=10.3 + --dep-target=10.5 - builds the following third-party libraries - * Bzip2 - * NCurses - * GNU Readline (GPL) + * NCurses 5.9 (http://bugs.python.org/issue15037) * SQLite 3.7.13 - * Zlib 1.2.3 - * Oracle Sleepycat DB 4.8 (Python 2.x only) + * XZ 5.0.3 + + - uses system-supplied versions of third-party libraries + + * readline module links with Apple BSD editline (libedit) - requires ActiveState ``Tcl/Tk 8.4`` (currently 8.4.19) to be installed for building - recommended build environment: - - * Mac OS X 10.5.8 PPC or Intel + + * Mac OS X 10.5.8 Intel or PPC * Xcode 3.1.4 - * ``MacOSX10.4u`` SDK (later SDKs do not support PPC G3 processors) - * ``MACOSX_DEPLOYMENT_TARGET=10.3`` - * Apple ``gcc-4.0`` + * ``MacOSX10.5`` SDK + * ``MACOSX_DEPLOYMENT_TARGET=10.5`` + * Apple ``gcc-4.2`` * system Python 2.5 for documentation build with Sphinx - alternate build environments: @@ -45,7 +46,6 @@ for each release. - need to change ``/System/Library/Frameworks/{Tcl,Tk}.framework/Version/Current`` to ``8.4`` * Note Xcode 4.* does not support building for PPC so cannot be used for this build - 2. 64-bit / 32-bit, x86_64 and i386 universal, for OS X 10.6 (and later):: /usr/bin/python build-installer.py \ @@ -57,6 +57,7 @@ for each release. * NCurses 5.9 (http://bugs.python.org/issue15037) * SQLite 3.7.13 + * XZ 5.0.3 - uses system-supplied versions of third-party libraries @@ -81,12 +82,53 @@ for each release. considered a migration aid by Apple and is not likely to be fixed, its use should be avoided. The other compiler, ``clang``, has been undergoing rapid development. While it appears to have become - production-ready in the most recent Xcode 4 releases (Xcode 4.5.x + production-ready in the most recent Xcode 4 releases (Xcode 4.4.1 as of this writing), there are still some open issues when building Python and there has not yet been the level of exposure in production environments that the Xcode 3 gcc-4.2 compiler has had. +* For Python 2.7.x and 3.2.x, the 32-bit-only installer was configured to + support Mac OS X 10.3.9 through (at least) 10.6. Because it is + believed that there are few systems still running OS X 10.3 or 10.4 + and because it has become increasingly difficult to test and + support the differences in these earlier systems, as of Python 3.3.0 the PSF + 32-bit installer no longer supports them. For reference in building such + an installer yourself, the details are:: + + /usr/bin/python build-installer.py \ + --sdk-path=/Developer/SDKs/MacOSX10.4u.sdk \ + --universal-archs=32-bit \ + --dep-target=10.3 + + - builds the following third-party libraries + + * Bzip2 + * NCurses + * GNU Readline (GPL) + * SQLite 3 + * XZ + * Zlib 1.2.3 + * Oracle Sleepycat DB 4.8 (Python 2.x only) + + - requires ActiveState ``Tcl/Tk 8.4`` (currently 8.4.19) to be installed for building + + - recommended build environment: + + * Mac OS X 10.5.8 PPC or Intel + * Xcode 3.1.4 (or later) + * ``MacOSX10.4u`` SDK (later SDKs do not support PPC G3 processors) + * ``MACOSX_DEPLOYMENT_TARGET=10.3`` + * Apple ``gcc-4.0`` + * system Python 2.5 for documentation build with Sphinx + + - alternate build environments: + + * Mac OS X 10.6.8 with Xcode 3.2.6 + - need to change ``/System/Library/Frameworks/{Tcl,Tk}.framework/Version/Current`` to ``8.4`` + + + General Prerequisites --------------------- |