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
__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
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
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
dep_util.py
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
extension.py Merged revisions 86223-86224,86226,86234 via svnmerge from 2010-11-06 04:06:18 +00:00
fancy_getopt.py
file_util.py Merged revisions 86223-86224,86226,86234 via svnmerge from 2010-11-06 04:06:18 +00:00
filelist.py
log.py
msvc9compiler.py Merged revisions 86438 via svnmerge from 2010-11-12 22:27:28 +00:00
msvccompiler.py
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
unixccompiler.py
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
versionpredicate.py

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$