mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
to the current Python interpreter (ie. the one used for
building/installation), even (especially!) if "/usr/bin/env" appears in
the #! line.
Rationale: installing scripts with "#!/usr/bin/env python" is asking for
trouble, because
1) it might pick the wrong interpreter (not the one used to
build/install the script)
2) it doesn't work on all platforms (try it on IRIX 5, or on Linux
with command-line options for python)
3) "env" might not be in /usr/bin
|
||
|---|---|---|
| .. | ||
| 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 | ||
| mwerkscompiler.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$