diff options
author | Greg Ward <gward@python.net> | 2000-01-30 18:34:15 +0000 |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-01-30 18:34:15 +0000 |
commit | 37bc81505379facad85a7c6ff273de0201f28656 (patch) | |
tree | f2c2208609ff73860b86da445fbb7669847b5bbc /Lib/distutils/command/build_py.py | |
parent | 4c67936e4eab6db332c32b51f45c91870fb58d90 (diff) | |
download | cpython-git-37bc81505379facad85a7c6ff273de0201f28656.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/build_py.py')
-rw-r--r-- | Lib/distutils/command/build_py.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/distutils/command/build_py.py b/Lib/distutils/command/build_py.py index e27a36d464..57ddf7e7ea 100644 --- a/Lib/distutils/command/build_py.py +++ b/Lib/distutils/command/build_py.py @@ -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"), ] |