mirror of
https://github.com/python/cpython.git
synced 2026-02-11 04:11:11 +00:00
command-line parsing code, splitting it up into several methods (new
methods: '_parse_command_opts()', '_show_help()') and making it put options
into the 'command_options' dictionary rather than instantiating command
objects and putting them there.
Lots of other little changes:
* merged 'find_command_class()' and 'create_command_obj()' and
called the result 'get_command_class()'
* renamed 'find_command_obj()' to 'get_command_obj()', and added
command object creation and maintenance of the command object cache to
its responsibilities (taken over from 'create_command_obj()')
* parse config files one-at-a-time, so we can keep track of the
filename for later error reporting
* tweaked some help messages
* fixed up many obsolete comments and docstrings
|
||
|---|---|---|
| .. | ||
| command | ||
| __init__.py | ||
| archive_util.py | ||
| ccompiler.py | ||
| cmd.py | ||
| core.py | ||
| dep_util.py | ||
| dir_util.py | ||
| dist.py | ||
| errors.py | ||
| fancy_getopt.py | ||
| file_util.py | ||
| msvccompiler.py | ||
| README | ||
| spawn.py | ||
| sysconfig.py | ||
| text_file.py | ||
| unixccompiler.py | ||
| util.py | ||
| version.py | ||
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$