summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/install.py
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2000-05-13 02:16:45 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2000-05-13 02:16:45 (GMT)
commit0ec8ef16019fb7f02a3d0d0893532b99d45b5d77 (patch)
tree48165951e032a9a22b9a77a39e566c2a893d1e94 /Lib/distutils/command/install.py
parent7e855ef6ad9fba6c67d03bf11cb0ad8d36809e3e (diff)
downloadcpython-0ec8ef16019fb7f02a3d0d0893532b99d45b5d77.zip
cpython-0ec8ef16019fb7f02a3d0d0893532b99d45b5d77.tar.gz
cpython-0ec8ef16019fb7f02a3d0d0893532b99d45b5d77.tar.bz2
Made the '--record' option take an argument, which is the name of the
file to write the list of installed files to.
Diffstat (limited to 'Lib/distutils/command/install.py')
-rw-r--r--Lib/distutils/command/install.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py
index 2429f1b..a4986e5 100644
--- a/Lib/distutils/command/install.py
+++ b/Lib/distutils/command/install.py
@@ -89,8 +89,8 @@ class install (Command):
#('install-html=', None, "directory for HTML documentation"),
#('install-info=', None, "directory for GNU info files"),
- ('record', None,
- "make a record of installation"),
+ ('record=', None,
+ "filename in which to record list of installed files"),
]
# 'sub_commands': a list of commands this command might have to run
@@ -445,8 +445,9 @@ class install (Command):
for counter in xrange (len (outputs)):
outputs[counter] = outputs[counter][root_len:]
self.execute(write_file,
- ("INSTALLED_FILES", outputs),
- "writing list of installed files")
+ (self.record, outputs),
+ "writing list of installed files to '%s'" %
+ self.record)
normalized_path = map (os.path.normpath, sys.path)
if (not (self.path_file and self.install_path_file) and