Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c55f2d1

Browse files
author
Tarek Ziadé
committed
Merged revisions 81261 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r81261 | tarek.ziade | 2010-05-17 12:54:43 +0200 (Mon, 17 May 2010) | 1 line upgraded distutils docs w.r.t. the manifest regeneration ........
1 parent c16a85c commit c55f2d1

2 files changed

Lines changed: 5 additions & 12 deletions

File tree

Doc/distutils/sourcedist.rst

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -137,20 +137,12 @@ There are a couple of options that modify this behaviour. First, use the
137137
:option:`--no-defaults` and :option:`--no-prune` to disable the standard
138138
"include" and "exclude" sets.
139139

140-
Second, you might want to force the manifest to be regenerated---for example, if
141-
you have added or removed files or directories that match an existing pattern in
142-
the manifest template, you should regenerate the manifest::
143-
144-
python setup.py sdist --force-manifest
145-
146-
Or, you might just want to (re)generate the manifest, but not create a source
147-
distribution::
140+
Second, you might just want to (re)generate the manifest, but not create a
141+
source distribution::
148142

149143
python setup.py sdist --manifest-only
150144

151-
:option:`--manifest-only` implies :option:`--force-manifest`. :option:`-o` is a
152-
shortcut for :option:`--manifest-only`, and :option:`-f` for
153-
:option:`--force-manifest`.
145+
:option:`-o` is a sortcut for :option:`--manifest-only`.
154146

155147
.. _manifest_template:
156148

Lib/distutils/command/sdist.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ def checking_metadata(self):
6363
"just regenerate the manifest and then stop "
6464
"(implies --force-manifest)"),
6565
('force-manifest', 'f',
66-
"forcibly regenerate the manifest and carry on as usual"),
66+
"forcibly regenerate the manifest and carry on as usual. "
67+
"Deprecated: now the manifest is always regenerated."),
6768
('formats=', None,
6869
"formats for source distribution (comma-separated list)"),
6970
('keep-temp', 'k',

0 commit comments

Comments
 (0)