mirror of
https://github.com/python/cpython.git
synced 2025-09-02 23:18:25 +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
|
@ -16,6 +16,8 @@ from distutils.errors import *
|
|||
|
||||
class BuildPy (Command):
|
||||
|
||||
description = "\"build\" pure Python modules (copy to build directory)"
|
||||
|
||||
options = [('build-dir=', 'd', "directory for platform-shared files"),
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue