summaryrefslogtreecommitdiffstats
path: root/Doc/distutils
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2008-12-28 19:40:56 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2008-12-28 19:40:56 (GMT)
commit4b48c612bbc2422ad89aea3db6e7fa286b6fd2d5 (patch)
treeb63bc3d43f9cdb14e204e4ed20e08bceabf2a3c5 /Doc/distutils
parentdae1a6a4889a67d29c7e1638472625cc4ca3cdf3 (diff)
downloadcpython-4b48c612bbc2422ad89aea3db6e7fa286b6fd2d5.zip
cpython-4b48c612bbc2422ad89aea3db6e7fa286b6fd2d5.tar.gz
cpython-4b48c612bbc2422ad89aea3db6e7fa286b6fd2d5.tar.bz2
Issue4064: architecture string for universal builds on OSX
Diffstat (limited to 'Doc/distutils')
-rw-r--r--Doc/distutils/apiref.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/Doc/distutils/apiref.rst b/Doc/distutils/apiref.rst
index a8f7461..a932fbd 100644
--- a/Doc/distutils/apiref.rst
+++ b/Doc/distutils/apiref.rst
@@ -1100,6 +1100,23 @@ other utility module.
For non-POSIX platforms, currently just returns ``sys.platform``.
+ For MacOS X systems the OS version reflects the minimal version on which
+ binaries will run (that is, the value of ``MACOSX_DEPLOYMENT_TARGET``
+ during the build of Python), not the OS version of the current system.
+
+ For universal binary builds on MacOS X the architecture value reflects
+ the univeral binary status instead of the architecture of the current
+ processor. For 32-bit universal binaries the architecture is ``fat``,
+ for 4-way universal binaries the architecture is ``universal``.
+
+ Examples of returned values on MacOS X:
+
+ * ``macosx-10.3-ppc``
+
+ * ``macosx-10.3-fat``
+
+ * ``macosx-10.5-universal``
+
.. % XXX isn't this also provided by some other non-distutils module?