[Twisted-Python] twisted-2 won't work with Fedora

Jean-Paul Calderone exarkun at divmod.com
Wed Mar 29 09:42:48 EST 2006


On Wed, 29 Mar 2006 09:02:12 -0500, Neal Becker <ndbecker2 at gmail.com> wrote:
>There is a big problem with twisted on Fedora/Redhat multiarch.  For
>example, x86_64.
>
>The problem is that Fedora puts arch-independent (.py) code into a different
>directory than arch-dependent code.
>
>Unfortunately, this doesn't quite work correctly with python's module search
>algorithm.
>
>The problem shows up when twisted-sumo is installed.  Then we have:
>
>/usr/lib/python2.4/site-packages/twisted/...
>and
>/usr/lib64/python2.4/site-packages/twisted/...
>
>This won't work.
>
>I realize the problem is with python module search, but it looks like a big
>effort fix the code.  A simpler solution would be for twisted to just avoid
>the problem.  If twisted put core c-code into a different place, we could
>have:
>
>/usr/lib64/python2.4/site-packages/twisted-core
>
>That would solve the problem.
>

You could just delete the /usr/lib64 twisted package, which I am guessing is almost entirely empty.  Unless you're interested in twisted.runner, none of the extension modules are actually required.

Jean-Paul




More information about the Twisted-Python mailing list