source:
python/vendor/Python-2.6.5/Doc/distutils/commandref.rst
Last change on this file was 2, checked in by , 15 years ago | |
---|---|
|
|
File size: 4.5 KB |
Command Reference
Installing modules: the :command:`install` command family
The install command ensures that the build commands have been run and then runs the subcommands :command:`install_lib`, :command:`install_data` and :command:`install_scripts`.
:command:`install_data`
This command installs all data files provided with the distribution.
:command:`install_scripts`
This command installs all (Python) scripts in the distribution.
Creating a source distribution: the :command:`sdist` command
** fragment moved down from above: needs context! **
The manifest template commands are:
Command | Description |
---|---|
include all files matching any of the listed patterns | |
exclude all files matching any of the listed patterns | |
include all files under dir matching any of the listed patterns | |
exclude all files under dir matching any of the listed patterns | |
include all files anywhere in the source tree matching --- & any of the listed patterns | |
exclude all files anywhere in the source tree matching --- & any of the listed patterns | |
exclude all files under dir | |
include all files under dir |
The patterns here are Unix-style "glob" patterns: * matches any sequence of regular filename characters, ? matches any single regular filename character, and [range] matches any of the characters in range (e.g., a-z, a-zA-Z, a-f0-9_.). The definition of "regular filename character" is platform-specific: on Unix it is anything except slash; on Windows anything except backslash or colon.
** Windows support not there yet **