[Twisted-Python] Windows buildbots and Appveyor

Oliver Palmer oliverpalmer at opalmer.com
Wed Jul 20 20:16:50 MDT 2016


I should this weekend but it looks like you're on the right track so far.
Looking at tox's config it shouldn't have issues picking up the environment
being added in appveyor.yaml because passenv = * currently.  If this works
out then we can hopefully avoid the need for a plugin and just rely
directly on the wrapper script.  At least in my experience the wrapper
script was all I needed to get builds working across Python versions.

By the way, this can be really useful to help debug problems at runtime
while the build is running:

https://www.appveyor.com/docs/how-to/rdp-to-build-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 <rodrigc at crodrigues.org>
wrote:

> On Wed, Jul 20, 2016 at 6:25 PM, Oliver Palmer <oliverpalmer at opalmer.com>
> wrote:
>
>> 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/pywincffi/blob/master/appveyor.yml
>>
>> Since Twisted is using tox I assume that either tox should setup the
>> environment or %PYTHON_VERSION% and %PYTHON_ARCH% need to be set by the
>> build matrix and tox would be called with the wrapper:
>>
>>     cmd /E:ON /V:ON /C run_with_cmd.cmd tox <arguments>
>>
>>
> Using tox is the desired way to go.
> I made an initial cut at this here:
> https://github.com/rodrigc/twisted/blob/appveyor2/appveyor.yml
>
> Do you have any cycles to help me improve this and get something working?
>
> --
> Craig
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20160720/9fa70331/attachment-0002.html>


More information about the Twisted-Python mailing list