mirror of
https://github.com/python/cpython.git
synced 2026-02-18 21:31:21 +00:00
choice between (compile, no-compile) * (optimize=0, optimize=1,
optimize=2). Details:
- added --no-compile option to complement --compile, which has
been there for ages
- changed --optimize (which never worked) to a value option, which
expects 0, 1, or 2
- renamed 'bytecompile()' method to 'byte_compile()', and beefed
it up to handle both 'compile' and 'optimize' options
- fix '_bytecode_filenames()' to respect the new options
|
||
|---|---|---|
| .. | ||
| command | ||
| __init__.py | ||
| archive_util.py | ||
| bcppcompiler.py | ||
| ccompiler.py | ||
| cmd.py | ||
| core.py | ||
| cygwinccompiler.py | ||
| dep_util.py | ||
| dir_util.py | ||
| dist.py | ||
| errors.py | ||
| extension.py | ||
| fancy_getopt.py | ||
| file_util.py | ||
| filelist.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$