summaryrefslogtreecommitdiffstats
path: root/Doc/distutils/commandref.rst
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2010-07-31 09:10:51 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2010-07-31 09:10:51 (GMT)
commit96c45a984fcf2676532e5c8a80d2d6f8bb8df471 (patch)
treed220c2c3fe8529bba819b057652da9fae48b9bc1 /Doc/distutils/commandref.rst
parentb00a75f175b30a907fd1dc763e0ed50a15f524a5 (diff)
downloadcpython-96c45a984fcf2676532e5c8a80d2d6f8bb8df471.zip
cpython-96c45a984fcf2676532e5c8a80d2d6f8bb8df471.tar.gz
cpython-96c45a984fcf2676532e5c8a80d2d6f8bb8df471.tar.bz2
reverted distutils doc to its 3.1 state
Diffstat (limited to 'Doc/distutils/commandref.rst')
-rw-r--r--Doc/distutils/commandref.rst44
1 files changed, 44 insertions, 0 deletions
diff --git a/Doc/distutils/commandref.rst b/Doc/distutils/commandref.rst
index 7282961..fbe40de 100644
--- a/Doc/distutils/commandref.rst
+++ b/Doc/distutils/commandref.rst
@@ -48,6 +48,50 @@ This command installs all (Python) scripts in the distribution.
.. % \label{clean-cmd}
+.. _sdist-cmd:
+
+Creating a source distribution: the :command:`sdist` command
+============================================================
+
+**\*\*** fragment moved down from above: needs context! **\*\***
+
+The manifest template commands are:
+
++-------------------------------------------+-----------------------------------------------+
+| Command | Description |
++===========================================+===============================================+
+| :command:`include pat1 pat2 ...` | include all files matching any of the listed |
+| | patterns |
++-------------------------------------------+-----------------------------------------------+
+| :command:`exclude pat1 pat2 ...` | exclude all files matching any of the listed |
+| | patterns |
++-------------------------------------------+-----------------------------------------------+
+| :command:`recursive-include dir pat1 pat2 | include all files under *dir* matching any of |
+| ...` | the listed patterns |
++-------------------------------------------+-----------------------------------------------+
+| :command:`recursive-exclude dir pat1 pat2 | exclude all files under *dir* matching any of |
+| ...` | the listed patterns |
++-------------------------------------------+-----------------------------------------------+
+| :command:`global-include pat1 pat2 ...` | include all files anywhere in the source tree |
+| | matching --- & any of the listed patterns |
++-------------------------------------------+-----------------------------------------------+
+| :command:`global-exclude pat1 pat2 ...` | exclude all files anywhere in the source tree |
+| | matching --- & any of the listed patterns |
++-------------------------------------------+-----------------------------------------------+
+| :command:`prune dir` | exclude all files under *dir* |
++-------------------------------------------+-----------------------------------------------+
+| :command:`graft 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 **\*\***
+
.. % \section{Creating a built distribution: the
.. % \protect\command{bdist} command family}
.. % \label{bdist-cmds}