summaryrefslogtreecommitdiff
path: root/Lib/distutils/command/install_lib.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-01-30 18:34:15 +0000
committerGreg Ward <gward@python.net>2000-01-30 18:34:15 +0000
commit50ca9bf6afa59a317bbf16763dc94aa9350914ad (patch)
tree626727892989d179a8006529b50e4de9775124b0 /Lib/distutils/command/install_lib.py
parentaf82dae0fce02b1d8d57c2ab51e558ec377d1119 (diff)
downloadcpython-50ca9bf6afa59a317bbf16763dc94aa9350914ad.tar.gz
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).
Diffstat (limited to 'Lib/distutils/command/install_lib.py')
-rw-r--r--Lib/distutils/command/install_lib.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/distutils/command/install_lib.py b/Lib/distutils/command/install_lib.py
index 50939a3431..2e8a670686 100644
--- a/Lib/distutils/command/install_lib.py
+++ b/Lib/distutils/command/install_lib.py
@@ -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"),