[Twisted-Python] Windows CFFI Implementation?

2015-04-06 Thread Oliver Palmer
ps://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, Olive

Re: [Twisted-Python] Windows CFFI Implementation?

2015-04-07 Thread Oliver Palmer
27;m at it. > In the meanwhile, hopefully the new "extras" support (arriving in a release any minute now) will mitigate the symptoms while we work on the root cause. Nice just read up on this in the repo, looking forward to the release already. Thanks! ---Oliver On Tue, Apr 7, 2015

[Twisted-Python] Should the CFFI wrapper and functions for win32 be a separate project?

2015-06-14 Thread Oliver Palmer
As the subject says, could the CFFI wrappers around the win32 functions that Twisted needs be a separate project? This came up briefly in https://twistedmatrix.com/trac/ticket/7889 so I thought I might pose the question to a larger audience. Generally speaking, the idea of making it a separate pro

[Twisted-Python] pywin32 -> cffi update and feedback request

2016-01-06 Thread Oliver Palmer
So expanding on the "Should the CFFI wrapper and functions for win32 be a separate project" thread from six months ago I think I'd like some feedback. The pywincffi project, which I'm planning to use to start replacing pywin32 in Twisted, is getting close to

Re: [Twisted-Python] pywin32 -> cffi update and feedback request

2016-01-13 Thread Oliver Palmer
Sounds like pywincffi should fix that issueI'm planning on distributing binary wheels which pip and setuptools should be able to install like any other dependency. I can make sure to build other formats (exe, msi, egg, etc) if it helps though the binary wheels should be enough to avoid the sam

Re: [Twisted-Python] pywin32 -> cffi update and feedback request

2016-01-23 Thread Oliver Palmer
tered with a 57.36% probability of being spam. I'm human, I promise. On Wed, Jan 13, 2016 at 8:59 PM, Oliver Palmer wrote: > Sounds like pywincffi should fix that issueI'm planning on > distributing binary wheels which pip and setuptools should be able to > install like any

Re: [Twisted-Python] pywin32 -> cffi update and feedback request

2016-01-23 Thread Oliver Palmer
Worked that time, thanks Glyph. On Sun, Jan 24, 2016 at 12:01 AM, Glyph Lefkowitz wrote: > > > On Jan 23, 2016, at 5:18 PM, Oliver Palmer > wrote: > > > > So 0.1.2 is out and I've uploaded a patch set for review to #7889 which > replaces win32api.FormatMessa

Re: [Twisted-Python] Windows spawnProcess - Child process inherits files and sockets (POSIX does not)

2016-04-06 Thread Oliver Palmer
Owner of pywincffi here, I'd certainly welcome a PR or two for pywincffi with the necessary functions/constants/etc so you don't have to manage that code and I'd be happy to help write it too. I think the consensus is Twisted is going to eventually replace calls into pywin32 with calls into pywinc

Re: [Twisted-Python] Windows buildbots and Appveyor

2016-07-20 Thread Oliver Palmer
If you or someone else ends up working on this I can attest that his setup works well and will build C-extensions. I've been using his script extensively on pywincffi for Python 2.6+ and Python 3.3+ so far without issues. For reference, here's my yaml file: https://github.com/opalmer/pywincf

Re: [Twisted-Python] Windows buildbots and Appveyor

2016-07-20 Thread Oliver Palmer
ild-worker Hit me with @opalmer on GitHub if you've got a PR open between now and the weekend or want some input, I'll be happy to help either there or on this list. On Wed, Jul 20, 2016 at 9:58 PM, Craig Rodrigues wrote: > On Wed, Jul 20, 2016 at 6:25 PM, Oliver Palmer > wro

[Twisted-Python] pywincffi status update and next steps

2016-07-20 Thread Oliver Palmer
All (or at least those interested in replacing pywin32 in Twisted), pywincffi is getting very close to having all the API calls necessary to replace pywin32. By my count there should be one function left, GetOverlappedResult(). All of the other functions and constants in use today should be cover

[Twisted-Python] pywin32 to pywincff conversion (help needed)

2017-06-30 Thread Oliver Palmer
All, So a long while back I volunteered to write a library to supply functions to replace pywin32 with a cffi backed implementation. Quite a bit of time has gone by since and about a year ago I closed the issue[0] where I was keeping track of the major functions, constants and structures I needed

Re: [Twisted-Python] Building Python3 wheels for Win32 and releasing to Pypi

2018-01-08 Thread Oliver Palmer
> If during the release process, appveyor could build the Windows wheels on py2.7 and py3, and then upload them to pypi, that would be ideal. Last I checked AppyVeyor can't do this directly. I ended up writing a command line tool to make releases for pywincffi which uses this class to pull release