[Twisted-Python] MANIFEST.in for RPMs

John Landahl john at landahl.org
Wed Nov 5 04:35:29 EST 2003

If anyone has an interest in using the bdist_rpm option with setup.py to 
build Twisted RPMs, the MANIFEST.in file needs the following additions:

     include twisted/runner/portmap.c
     include twisted/protocols/_c_urlarg.c
     include twisted/lore/template.mgp
     include twisted/web/woven/FlashConduit*
     include twisted/web/woven/WebConduit*
     include twisted/test/process.alias.sh*
     include twisted/test/rfc822.message
     include twisted/test/server.pem

Also, for a Twisted installation that works with any installed version of 
Python (e.g. 2.2 and 2.3), you can install Twisted to /usr/lib/site-python 
by adding these lines to setup.cfg:

     install-lib = /usr/lib/site-python

/usr/lib/site-python seems far more convenient than 
/usr/lib/pythonX/site-packages, don't know why it isn't the default.

John Landahl
john at landahl.org

More information about the Twisted-Python mailing list