[Twisted-Python] Fixes for distutils (disregard previous mail)
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@earthlink.net
On Fri, 23 May 2003 23:16:39 -0500
Daniel Waites
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.
Thanks. However, we do have a .spec somewhere in the tarball - have you tried it out? -- Itamar Shtull-Trauring http://itamarst.org/ http://www.zoteca.com -- Python & Twisted consulting
participants (2)
-
Daniel Waites
-
Itamar Shtull-Trauring