mirror of https://github.com/python/cpython
28a5f44cca
one doesn't *do* anything by default; it's just there as a conduit for data (eg. include dirs, libraries) from the user to the "build" commands. However, it provides a couple of Autoconf-ish methods ('try_compile()', 'try_link()', 'try_run()') that derived, per-distribution "config" commands can use to poke around the target system and see what's available. Initial experimenst with mxDateTime indicate that higher-level methods are necessary: analogs of Autoconf's AC_CHECK_HEADER, AC_CHECK_LIB will be needed too (and that's just to probe the C/C++ system: how to probe the Python system is wide open, and someday we'll have to worry about probing a Java system too). |
||
---|---|---|
.. | ||
command | ||
README | ||
__init__.py | ||
archive_util.py | ||
ccompiler.py | ||
cmd.py | ||
core.py | ||
dep_util.py | ||
dir_util.py | ||
dist.py | ||
errors.py | ||
extension.py | ||
fancy_getopt.py | ||
file_util.py | ||
msvccompiler.py | ||
spawn.py | ||
sysconfig.py | ||
text_file.py | ||
unixccompiler.py | ||
util.py | ||
version.py |
README
This directory contains only a subset of the Distutils, specifically the Python modules in the 'distutils' and 'distutils.command' packages. Technically, this is all you need to distribute and install Python modules using the Distutils. Most people will want some documentation and other help, though. Currently, everything can be found at the Distutils web page: http://www.python.org/sigs/distutils-sig/ From there you can access the latest documentation, or download a standalone Distutils release that includes all the code in this directory, plus documentation, test scripts, examples, etc. The Distutils documentation isn't yet part of the standard Python documentation set, but will be soon. Greg Ward (gward@python.net) $Id$