cpython/Lib/distutils
Jason Tishler 70367d3a6c Patch #709178: remove -static option from cygwinccompiler
Currently, the cygwinccompiler.py compiler handling in
distutils is invoking the cygwin and mingw compilers
with the -static option.

Logically, this means that the linker should choose to
link to static libraries instead of shared/dynamically
linked libraries.

Current win32 binutils expect import libraries to have
a .dll.a suffix and static libraries to have .a suffix.
If -static is passed, it will skip the .dll.a
libraries. This is pain if one has a tree with both
static and dynamic libraries using this naming
convention, and wish to use the dynamic libraries.

The -static option being passed in distutils is to get
around a bug in old versions of binutils where it would
get confused when it found the DLLs themselves.

The decision to use static or shared libraries is site
or package specific, and should be left to the setup
script or to command line options.
2003-04-09 16:03:57 +00:00
..
command Remove the --verify option in favor of the standard -n/--dry-run option 2003-04-09 12:35:51 +00:00
__init__.py Add comment to Distutil files about requiring 1.5.2 compatibility, as 2002-11-19 13:12:28 +00:00
archive_util.py Bug #639118 from Ollie Oldham: archiver should use zipfile before zip 2002-11-21 18:33:28 +00:00
bcppcompiler.py Add comment to Distutil files about requiring 1.5.2 compatibility, as 2002-11-19 13:12:28 +00:00
ccompiler.py [Bug #668662] Patch from Pearu Pearson: if a C source file is 2003-02-26 18:52:07 +00:00
cmd.py announce(): use the level argument to control the log level. 2003-02-20 02:10:08 +00:00
core.py [Patch #683939] Add download_url field to metadata 2003-02-19 14:16:01 +00:00
cygwinccompiler.py Patch #709178: remove -static option from cygwinccompiler 2003-04-09 16:03:57 +00:00
debug.py Add comment to Distutil files about requiring 1.5.2 compatibility, as 2002-11-19 13:12:28 +00:00
dep_util.py Add comment to Distutil files about requiring 1.5.2 compatibility, as 2002-11-19 13:12:28 +00:00
dir_util.py Part of the fix for bug #410541: add ensure_relative() function 2002-11-26 17:42:48 +00:00
dist.py [Bug #693470] 'licence' as an alias for 'license' doesn't work. 2003-03-03 20:07:27 +00:00
emxccompiler.py Remove 'created by' lines; people can use CVS for this, and the information is often out of date 2002-11-14 02:25:42 +00:00
errors.py Add comment to Distutil files about requiring 1.5.2 compatibility, as 2002-11-19 13:12:28 +00:00
extension.py Remove the recently-added get_distutil_options(), and just 2003-01-27 16:30:36 +00:00
fancy_getopt.py Add comment to Distutil files about requiring 1.5.2 compatibility, as 2002-11-19 13:12:28 +00:00
file_util.py Add comment to Distutil files about requiring 1.5.2 compatibility, as 2002-11-19 13:12:28 +00:00
filelist.py Add comment to Distutil files about requiring 1.5.2 compatibility, as 2002-11-19 13:12:28 +00:00
log.py set_verbosity(): do something reasonable for out-of-range verbosity 2003-02-20 02:09:30 +00:00
msvccompiler.py Pass the preprocessor options also to the resource compiler 2003-01-31 20:40:15 +00:00
mwerkscompiler.py Add comment to Distutil files about requiring 1.5.2 compatibility, as 2002-11-19 13:12:28 +00:00
README Update file 2002-11-13 13:26:59 +00:00
spawn.py Reflow comment 2002-11-21 20:41:07 +00:00
sysconfig.py Pick up Makefile variable BASECFLAGS too. This is needed since OPT was 2003-02-10 14:02:33 +00:00
text_file.py Remove 'created by' lines; people can use CVS for this, and the information is often out of date 2002-11-14 02:25:42 +00:00
unixccompiler.py Patch #642019: Recognize gcc-x.y as gcc. 2002-11-21 20:33:24 +00:00
util.py Translate spaces in the machine name to underscores 2003-01-06 13:28:12 +00:00
version.py Remove 'created by' lines; people can use CVS for this, and the information is often out of date 2002-11-14 02:25:42 +00:00

This directory contains only a subset of the Distutils, specifically
the Python modules in the 'distutils' and 'distutils.command'
packages.  This is all you need to distribute and install Python
modules using the Distutils.  There is also a separately packaged
standalone version of the Distutils available for people who want to
upgrade the Distutils without upgrading Python, available from the
Distutils web page:

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

The standalone version includes all of the code in this directory,
plus documentation, test scripts, examples, etc.

The Distutils documentation is divided into two documents, "Installing
Python Modules", which explains how to install Python packages, and
"Distributing Python Modules", which explains how to write setup.py
files.  Both documents are part of the standard Python documentation
set, and are available from http://www.python.org/doc/current/ .

        Greg Ward (gward@python.net)

$Id$