[Twisted-Python] Fixes for distutils (disregard previous mail)

Daniel Waites danielwaites at earthlink.net
Fri May 23 22:16:39 MDT 2003


Disregard my previous mail.  Sorry, but I got the diff backwards :(

The following patches will get "python setup.py bdist_rpm" from Python 
distutils working.  Also, I added some fixes for including the 
documentation in the rpm distribution.

Unfortunately, RPM 4 creates an extra debuginfo RPM when running 
rpmbuild.  This breaks bdist_rpm.py, since the distutils coder assumed 
only one binary RPM would be created.  This causes an assertion error, 
but the RPMs still get build before the error happens.  The RPMs are 
located in build/build-blahblah/rpm/RPMS/<arch>/


===================================================================
RCS file: /cvs/Twisted/MANIFEST.in,v
retrieving revision 1.9
diff -r1.9 MANIFEST.in
21a22
 > include ChangeLog
33c34,36
<
---
 > recursive-include twisted *.c
 > recursive-include twisted *.mgp *.html *.fla *.js *.swf
 > recursive-include twisted/test *.pem *.message
Index: setup.cfg
===================================================================
RCS file: /cvs/Twisted/setup.cfg,v
retrieving revision 1.3
diff -r1.3 setup.cfg
28c28,32
<
---
 > doc_files=ChangeLog
 >           CREDITS
 >           LICENSE
 >           README
 >           doc/


----------------

Daniel Waites
danielwaites at earthlink.net





More information about the Twisted-Python mailing list