summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2010-05-17 11:00:17 +0000
committerTarek Ziadé <ziade.tarek@gmail.com>2010-05-17 11:00:17 +0000
commit831755694a4fb264538a208adf3f750988d67b0e (patch)
treea180dc03059c2d6b6ac9bb53644e2bf31f481288
parente7281163579c7fa9ccac2c2be918b94277028ea8 (diff)
downloadcpython-git-831755694a4fb264538a208adf3f750988d67b0e.tar.gz
Merged revisions 81261 via svnmerge from
svn+ssh://pythondev@svn.python.org/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 ........
-rw-r--r--Doc/distutils/sourcedist.rst12
-rw-r--r--Lib/distutils/command/sdist.py3
2 files changed, 4 insertions, 11 deletions
diff --git a/Doc/distutils/sourcedist.rst b/Doc/distutils/sourcedist.rst
index 960cc0ae4d..b45515d8d9 100644
--- a/Doc/distutils/sourcedist.rst
+++ b/Doc/distutils/sourcedist.rst
@@ -191,19 +191,11 @@ There are a couple of options that modify this behaviour. First, use the
:option:`--no-defaults` and :option:`--no-prune` to disable the standard
"include" and "exclude" sets.
-Second, you might want to force the manifest to be regenerated---for example, if
-you have added or removed files or directories that match an existing pattern in
-the manifest template, you should regenerate the manifest::
-
- python setup.py sdist --force-manifest
-
-Or, you might just want to (re)generate the manifest, but not create a source
+Second, you might just want to (re)generate the manifest, but not create a source
distribution::
python setup.py sdist --manifest-only
-:option:`--manifest-only` implies :option:`--force-manifest`. :option:`-o` is a
-shortcut for :option:`--manifest-only`, and :option:`-f` for
-:option:`--force-manifest`.
+:option:`-o` is a shortcut for :option:`--manifest-only`.
diff --git a/Lib/distutils/command/sdist.py b/Lib/distutils/command/sdist.py
index b93994d07f..535b8d2aea 100644
--- a/Lib/distutils/command/sdist.py
+++ b/Lib/distutils/command/sdist.py
@@ -57,7 +57,8 @@ class sdist (Command):
"just regenerate the manifest and then stop "
"(implies --force-manifest)"),
('force-manifest', 'f',
- "forcibly regenerate the manifest and carry on as usual"),
+ "forcibly regenerate the manifest and carry on as usual. "
+ "Deprecated: now the manifest is always regenerated."),
('formats=', None,
"formats for source distribution (comma-separated list)"),
('keep-temp', 'k',