diff options
author | Greg Ward <gward@python.net> | 2000-02-18 00:25:39 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-02-18 00:25:39 (GMT) |
commit | bbeceeaf9a5edf878154b17a6a94403a26822d51 (patch) | |
tree | 6089ebf12dbeb9ceeddecf33a7a7e231b5a6837a /Lib/distutils/command/sdist.py | |
parent | 592f28272e1287e8cdb57fb1887c4782fa07281e (diff) | |
download | cpython-bbeceeaf9a5edf878154b17a6a94403a26822d51.zip cpython-bbeceeaf9a5edf878154b17a6a94403a26822d51.tar.gz cpython-bbeceeaf9a5edf878154b17a6a94403a26822d51.tar.bz2 |
Renamed all 'options' class attributes to 'user_options'.
Diffstat (limited to 'Lib/distutils/command/sdist.py')
-rw-r--r-- | Lib/distutils/command/sdist.py | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/Lib/distutils/command/sdist.py b/Lib/distutils/command/sdist.py index d890832..aaedb30 100644 --- a/Lib/distutils/command/sdist.py +++ b/Lib/distutils/command/sdist.py @@ -21,26 +21,27 @@ class sdist (Command): description = "create a source distribution (tarball, zip file, etc.)" - options = [('template=', 't', - "name of manifest template file [default: MANIFEST.in]"), - ('manifest=', 'm', - "name of manifest file [default: MANIFEST]"), - ('use-defaults', None, - "include the default file set in the manifest " - "[default; disable with --no-defaults]"), - ('manifest-only', None, - "just regenerate the manifest and then stop"), - ('force-manifest', None, - "forcibly regenerate the manifest and carry on as usual"), - - ('formats=', None, - "formats for source distribution (tar, ztar, gztar, or zip)"), - ('list-only', 'l', - "just list files that would be distributed"), - ('keep-tree', 'k', - "keep the distribution tree around after creating " + - "archive file(s)"), - ] + user_options = [ + ('template=', 't', + "name of manifest template file [default: MANIFEST.in]"), + ('manifest=', 'm', + "name of manifest file [default: MANIFEST]"), + ('use-defaults', None, + "include the default file set in the manifest " + "[default; disable with --no-defaults]"), + ('manifest-only', None, + "just regenerate the manifest and then stop"), + ('force-manifest', None, + "forcibly regenerate the manifest and carry on as usual"), + + ('formats=', None, + "formats for source distribution (tar, ztar, gztar, or zip)"), + ('list-only', 'l', + "just list files that would be distributed"), + ('keep-tree', 'k', + "keep the distribution tree around after creating " + + "archive file(s)"), + ] negative_opts = {'use-defaults': 'no-defaults'} default_format = { 'posix': 'gztar', |