mirror of
https://github.com/python/cpython.git
synced 2025-12-01 23:32:16 +00:00
Added 'description' class attribute to every command class (to help the
'--help-commands' option). Shuffled imports around in a few command modules to avoid expensive up-front import of sysconfig (and resulting delays in generating list of all commands).
This commit is contained in:
parent
4c67936e4e
commit
37bc815053
8 changed files with 26 additions and 6 deletions
|
|
@ -131,6 +131,8 @@ from distutils.errors import DistutilsExecError
|
|||
|
||||
class Dist (Command):
|
||||
|
||||
description = "create a source distribution (tarball, zip file, etc.)"
|
||||
|
||||
options = [('formats=', None,
|
||||
"formats for source distribution (tar, ztar, gztar, or zip)"),
|
||||
('manifest=', 'm',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue