cpython/Lib/distutils
Ned Deily a8f8b50bd7 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:44:24 -07:00
..
command Issue #10419: Fix build_scripts command of distutils to handle correctly 2011-05-11 00:57:29 +02:00
tests Issue #9516: Correct and expand OS X deployment target tests in distutils 2011-06-28 19:43:15 -07:00
__init__.py Bump to 3.2.1rc1. 2011-05-15 17:52:42 +02:00
archive_util.py On behalf of Tarek: Issue #11501: disutils.archive_utils.make_zipfile no 2011-03-15 21:02:59 +01:00
bcppcompiler.py reverted distutils its 3.1 state. All new work is now happening in disutils2, and distutils is now feature-frozen. 2010-07-22 12:50:05 +00:00
ccompiler.py Merged revisions 86223-86224,86226,86234 via svnmerge from 2010-11-06 02:58:56 +00:00
cmd.py #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 11:05:33 +02:00
config.py reverted distutils its 3.1 state. All new work is now happening in disutils2, and distutils is now feature-frozen. 2010-07-22 12:50:05 +00:00
core.py Merged revisions 86223-86224,86226,86234 via svnmerge from 2010-11-06 02:58:56 +00:00
cygwinccompiler.py #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 11:05:33 +02:00
debug.py General cleanup, raise normalization in Lib/distutils. 2007-08-30 03:52:21 +00:00
dep_util.py reverted distutils its 3.1 state. All new work is now happening in disutils2, and distutils is now feature-frozen. 2010-07-22 12:50:05 +00:00
dir_util.py Merged revisions 86601,86605 via svnmerge from 2010-11-20 19:45:32 +00:00
dist.py Merged revisions 86223-86224,86226,86234 via svnmerge from 2010-11-06 02:58:56 +00:00
emxccompiler.py Merged revisions 86223-86224,86226,86234 via svnmerge from 2010-11-06 02:58:56 +00:00
errors.py reverted distutils its 3.1 state. All new work is now happening in disutils2, and distutils is now feature-frozen. 2010-07-22 12:50:05 +00:00
extension.py Merged revisions 86223-86224,86226,86234 via svnmerge from 2010-11-06 02:58:56 +00:00
fancy_getopt.py reverted distutils its 3.1 state. All new work is now happening in disutils2, and distutils is now feature-frozen. 2010-07-22 12:50:05 +00:00
file_util.py Remove traces of Mac OS 9 support, again (#9508). 2010-11-06 06:00:54 +00:00
filelist.py reverted distutils its 3.1 state. All new work is now happening in disutils2, and distutils is now feature-frozen. 2010-07-22 12:50:05 +00:00
log.py Merged revisions 81359-81361 via svnmerge from 2010-05-19 20:30:19 +00:00
msvc9compiler.py Merged revisions 86438 via svnmerge from 2010-11-12 22:26:37 +00:00
msvccompiler.py reverted distutils its 3.1 state. All new work is now happening in disutils2, and distutils is now feature-frozen. 2010-07-22 12:50:05 +00:00
README Merged revisions 70017 via svnmerge from 2009-02-27 12:58:56 +00:00
spawn.py Issue #9516: Change distutils to no longer globally attempt to check and 2011-06-28 19:44:24 -07:00
sysconfig.py Issue #9516: Change distutils to no longer globally attempt to check and 2011-06-28 19:44:24 -07:00
text_file.py Issue #6011: sysconfig and distutils.sysconfig use the surrogateescape error 2010-10-23 17:02:31 +00:00
unixccompiler.py reverted distutils its 3.1 state. All new work is now happening in disutils2, and distutils is now feature-frozen. 2010-07-22 12:50:05 +00:00
util.py Issue #9516: avoid errors in sysconfig when MACOSX_DEPLOYMENT_TARGET is set in shell. 2011-05-15 16:46:11 +02:00
version.py Merged revisions 70578,70599,70641-70642,70650,70660-70661,70674,70691,70697-70698,70700,70704 via svnmerge from 2009-03-30 14:51:56 +00:00
versionpredicate.py #2834: Change re module semantics, so that str and bytes mixing is forbidden, 2008-08-19 17:56:33 +00:00

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$