mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +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
|
@ -8,6 +8,8 @@ from distutils.util import copy_tree
|
|||
|
||||
class InstallPy (Command):
|
||||
|
||||
description = "install pure Python modules"
|
||||
|
||||
options = [('install-dir=', 'd', "directory to install to"),
|
||||
('build-dir=','b', "build directory (where to install from)"),
|
||||
('compile', 'c', "compile .py to .pyc"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue