[Twisted-Python] Windows CFFI Implementation?

Oliver Palmer oliverpalmer at opalmer.com
Mon Apr 6 20:44:40 MDT 2015


Hi,

I've been using Twisted for a while now and for the most part I've been
quite pleased with it.  Perhaps the one exception to this is when it comes
to Windows, but that's only because of pywin32.  For those unaware, there's
essentially two options right now.  Install pywin32 manually or add
the pypywin32 package to your project as a requirement.  So long as the
wheel package is installed...it's pretty easy to work around pywin32's
installer issues.

But, I wouldn't mind if the pywin32/wheel+pypiwin32 requirements went away
on Windows.  Pywin32 can be difficult to get working sometimes and it's
unfortunate that the Windows install can sometimes require a couple of
manual steps when working with Twisted.  So far as I can tell, Twisted
itself does not use a great deal of the pywin32 library and there's even a
ticket open that seems to indicate it's on the list of things to eventually
do and it's been mentioned at least a few times outside of this ticket:

    https://twistedmatrix.com/trac/ticket/7477

So my question is, does anyone know if any work has been done along the
lines of removing the pywin32 dependency and converting to cffi?  Outside
of the link above, I'm not seeing much so far and based on some rudimentary
testing
<https://github.com/opalmer/twisted/blob/02c0c56382f25b239fe177807541528cc940dadf/scratch.py>
it
seems like it's worth picking up since I've had to work around
<https://github.com/pyfarm/pyfarm-agent/pull/250/files> this problem
before.

Would anyone object to me doing some work on this?  I can't promise
anything yet since I'm still investigating it but I figured it would be a
good time to reach out for some input before moving forward.

Thanks,
Oliver Palmer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://twistedmatrix.com/pipermail/twisted-python/attachments/20150406/46267815/attachment.html>


More information about the Twisted-Python mailing list