Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
4fc2a008
Commit
4fc2a008
authored
May 17, 2010
by
Tarek Ziadé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upgraded distutils docs w.r.t. the manifest regeneration
parent
e127e243
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
12 deletions
+5
-12
Doc/distutils/sourcedist.rst
Doc/distutils/sourcedist.rst
+3
-11
Lib/distutils/command/sdist.py
Lib/distutils/command/sdist.py
+2
-1
No files found.
Doc/distutils/sourcedist.rst
View file @
4fc2a008
...
...
@@ -137,20 +137,12 @@ 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
distribution::
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 sortcut for :option:`--manifest-only`.
.. _manifest_template:
...
...
Lib/distutils/command/sdist.py
View file @
4fc2a008
...
...
@@ -63,7 +63,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'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment