cpython/Lib/distutils
Ned Deily 041645a8cb Issue #9516: Change distutils to no longer globally attempt to check and
set the MACOSX_DEPLOYMENT_TARGET env variable for the interpreter process
on OS X.  This could cause failures in non-distutils subprocesses and was
unreliable since tests or user programs could modify the interpreter
environment after distutils set it.  Instead, have distutils set the
the deployment target only in the environment of each build subprocess.

Continue to use the previous algorithm for deriving the deployment target
value:
    if MACOSX_DEPLOYMENT_TARGET is not set in the interpreter's env:
        use the interpreter build configure MACOSX_DEPLOYMENT_TARGET
    elif the MACOSX_DEPLOYMENT_TARGET env value >= configure value:
        use the env MACOSX_DEPLOYMENT_TARGET
    else: # env value less than interpreter build configure value
        raise exception
This allows building extensions that can only run on newer versions of
the OS than the version python was built for, for example with a python
built for 10.3 or later and an extension that needs to be built for 10.5.
2011-06-28 19:40:39 -07:00
..
command Fix file handle leak 2011-05-01 02:05:58 +02:00
tests Issue #9516: Correct and expand OS X deployment target tests in distutils 2011-06-28 19:39:10 -07:00
README Issue #5052: make Distutils compatible with 2.3 again. 2009-02-27 12:53:34 +00:00
__init__.py bump to 2.7.2 final 2011-06-11 09:42:44 -05:00
archive_util.py Merged revisions 87277 via svnmerge from 2010-12-15 20:33:50 +00:00
bcppcompiler.py massive import cleaning in Distutils 2009-12-21 01:22:46 +00:00
ccompiler.py Merged revisions 86223-86224,86226,86234 via svnmerge from 2010-11-06 04:06:18 +00:00
cmd.py #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 12:34:31 +02:00
config.py massive import cleaning in Distutils 2009-12-21 01:22:46 +00:00
core.py Merged revisions 86223-86224,86226,86234 via svnmerge from 2010-11-06 04:06:18 +00:00
cygwinccompiler.py Merged revisions 86223-86224,86226,86234 via svnmerge from 2010-11-06 04:06:18 +00:00
debug.py Issue #5052: removed backward compatibility information (out of date) 2009-01-25 22:09:10 +00:00
dep_util.py added test coverage for distutils.dep_util, and cleaned up the module 2009-12-10 15:29:03 +00:00
dir_util.py Merged revisions 86601,86605 via svnmerge from 2010-11-20 20:02:41 +00:00
dist.py Merged revisions 86223-86224,86226,86234 via svnmerge from 2010-11-06 04:06:18 +00:00
emxccompiler.py Merged revisions 86223-86224,86226,86234 via svnmerge from 2010-11-06 04:06:18 +00:00
errors.py removed spurious spaces 2009-10-28 06:45:18 +00:00
extension.py Merged revisions 86223-86224,86226,86234 via svnmerge from 2010-11-06 04:06:18 +00:00
fancy_getopt.py massive import cleaning in Distutils 2009-12-21 01:22:46 +00:00
file_util.py Merged revisions 86223-86224,86226,86234 via svnmerge from 2010-11-06 04:06:18 +00:00
filelist.py removing the last remaning apply() calls 2009-10-03 00:07:35 +00:00
log.py #6954: Fixed crash when using DISTUTILS_DEBUG flag in Distutils. 2009-09-21 13:41:08 +00:00
msvc9compiler.py Merged revisions 86438 via svnmerge from 2010-11-12 22:27:28 +00:00
msvccompiler.py massive import cleaning in Distutils 2009-12-21 01:22:46 +00:00
spawn.py Issue #9516: Change distutils to no longer globally attempt to check and 2011-06-28 19:40:39 -07:00
sysconfig.py Issue #9516: Change distutils to no longer globally attempt to check and 2011-06-28 19:40:39 -07:00
text_file.py massive import cleaning in Distutils 2009-12-21 01:22:46 +00:00
unixccompiler.py Two small fixes for the support for SDKs on MacOSX: 2010-06-27 12:36:16 +00:00
util.py Issue #9516: avoid errors in sysconfig when MACOSX_DEPLOYMENT_TARGET is set in shell. 2011-05-15 16:44:27 +02:00
version.py Fix typo. 2009-03-28 00:48:48 +00:00
versionpredicate.py Whitespace normalization. 2005-03-28 01:08:02 +00:00

README

This directory contains the Distutils package.

There's a full documentation available at:

    http://docs.python.org/distutils/

The Distutils-SIG web page is also a good starting point:

    http://www.python.org/sigs/distutils-sig/

WARNING : Distutils must remain compatible with 2.3

$Id$