setup.py fixes. See GH-15.

I haven't checked if Twisted plugins work, probably they are not.