diff options
author | Georg Brandl <georg@python.org> | 2008-03-06 06:47:18 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-03-06 06:47:18 (GMT) |
commit | 1df03405fc30604e00d506ac0f8c112517d8526e (patch) | |
tree | 8ffdb8c3d498a7b8c0882029d6fdefb09af0d8f4 /Doc | |
parent | 1d136bb91ee0e8a13f94fc456d7488fe3c3ef795 (diff) | |
download | cpython-1df03405fc30604e00d506ac0f8c112517d8526e.zip cpython-1df03405fc30604e00d506ac0f8c112517d8526e.tar.gz cpython-1df03405fc30604e00d506ac0f8c112517d8526e.tar.bz2 |
#1725737: ignore other VC directories other than CVS and SVN's too.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/distutils/sourcedist.rst | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Doc/distutils/sourcedist.rst b/Doc/distutils/sourcedist.rst index 9f15870..960cc0a 100644 --- a/Doc/distutils/sourcedist.rst +++ b/Doc/distutils/sourcedist.rst @@ -122,7 +122,8 @@ distribution: * all files in the Distutils "build" tree (default :file:`build/`) -* all files in directories named :file:`RCS`, :file:`CVS` or :file:`.svn` +* all files in directories named :file:`RCS`, :file:`CVS`, :file:`.svn`, + :file:`.hg`, :file:`.git`, :file:`.bzr` or :file:`_darcs` Now we have our complete list of files, which is written to the manifest for future reference, and then used to build the source distribution archive(s). @@ -156,8 +157,9 @@ source distribution: previous two steps, so it's important that the ``prune`` command in the manifest template comes after the ``recursive-include`` command -#. exclude the entire :file:`build` tree, and any :file:`RCS`, :file:`CVS` and - :file:`.svn` directories +#. exclude the entire :file:`build` tree, and any :file:`RCS`, :file:`CVS`, + :file:`.svn`, :file:`.hg`, :file:`.git`, :file:`.bzr` and :file:`_darcs` + directories Just like in the setup script, file and directory names in the manifest template should always be slash-separated; the Distutils will take care of converting |