Description of Problem: use the "doc_files" attribute on a bdist_rpm object, e.g. in a setup.cfg file. self.doc.append is called, which doesn't exist (it's self.doc_files.append). [alane@wwweasel alane]$ more distutils-1.0.1-bdist_rpm.patch --- distutils/command/bdist_rpm.py.or Sat Sep 30 14:27:54 2000 +++ distutils/command/bdist_rpm.py Thu May 31 00:53:44 2001 @@ -189,7 +189,7 @@ if type(self.doc_files) is ListType: for readme in ('README', 'README.txt'): if os.path.exists(readme) and readme not in self.doc_files: - self.doc.append(readme) + self.doc_files.append(readme) self.ensure_string('release', "1") self.ensure_string('serial') # should it be an int? [alane@wwweasel alane]$
Fixed in Distutils-1.0.2-1, which had the same problem - please report to the distutils SIG as well. Thanks.