![](https://secure.gravatar.com/avatar/6ad1811de8100dc2f561d597023c8542.jpg?s=120&d=mm&r=g)
I'm looking at building/testing reportlab with appveyor, but need some assistance building the C extensions in particular freetype. I looked at the code for pillow in https://github.com/python-pillow/Pillow/tree/master/winbuild along with https://github.com/python-pillow/Pillow/blob/master/appveyor.yml but I'm not sure I really understand it terribly well. In particular does appveyor support 3.5 & 3.6? The config.py compilers list seems to refer to versions 7.0 and 7.1, but that doesn't seem to be the visualc++ version at all. Looking at the appveyor.yml do people really reveal their ftp or s3 tokens? Or is it more reasonable to upload to a github acccount. -puzzled-ly yrs- Robin Becker
![](https://secure.gravatar.com/avatar/90a3b7816edd170b002641ade072b52a.jpg?s=120&d=mm&r=g)
On Fri, May 12, 2017, at 12:22 PM, Robin Becker wrote:
Looking at the appveyor.yml do people really reveal their ftp or s3 tokens?
If it's like Travis, any values under 'secure:' are encrypted with a project-specific key generated by the CI service, so you can have them in appveyor.yml without revealing them to anyone other than Appveyor. Thomas
![](https://secure.gravatar.com/avatar/5faa8f7f53d3ac658c4dfa4bd04a2ee3.jpg?s=120&d=mm&r=g)
On Fri, May 12, 2017 at 12:22:03PM +0100, Robin Becker wrote:
I'm looking at building/testing reportlab with appveyor, but need some assistance building the C extensions in particular freetype.
I looked at the code for pillow in
https://github.com/python-pillow/Pillow/tree/master/winbuild
along with
https://github.com/python-pillow/Pillow/blob/master/appveyor.yml
but I'm not sure I really understand it terribly well.
In particular does appveyor support 3.5 & 3.6?
Yes. Here's how zope.interface builds binary wheels containing C extension modules for all supported Python versions and uploads them to PyPI: https://github.com/zopefoundation/zope.interface/blob/master/appveyor.yml I like how it's short and simple, with only one strange thing I don't understand (the echo > vcvars64.bat thing).
Looking at the appveyor.yml do people really reveal their ftp or s3 tokens? Or is it more reasonable to upload to a github acccount.
https://www.appveyor.com/docs/build-configuration/#secure-variables HTH, Marius Gedminas -- Despite all appearances, your boss is a thinking, feeling, human being.
![](https://secure.gravatar.com/avatar/d995b462a98fea412efa79d17ba3787a.jpg?s=120&d=mm&r=g)
On 14 May 2017 at 12:08, Marius Gedminas
I like how it's short and simple, with only one strange thing I don't understand (the echo > vcvars64.bat thing).
I think that's patching round the fact that the MS batch files aren't 100% consistent, and you need the SDK compilers for 64-bit builds on one of the earlier Visual Studio free versions. Sorry I can't recall the details, but it's basically that. But I agree, that looks like an impressively simple Appveyor setup. I'll have to steal it :-) Paul
![](https://secure.gravatar.com/avatar/6ad1811de8100dc2f561d597023c8542.jpg?s=120&d=mm&r=g)
On 14/05/2017 12:08, Marius Gedminas wrote: ...........
Yes. Here's how zope.interface builds binary wheels containing C extension modules for all supported Python versions and uploads them to PyPI: https://github.com/zopefoundation/zope.interface/blob/master/appveyor.yml
I like how it's short and simple, with only one strange thing I don't understand (the echo > vcvars64.bat thing).
Looking at the appveyor.yml do people really reveal their ftp or s3 tokens? Or is it more reasonable to upload to a github acccount.
https://www.appveyor.com/docs/build-configuration/#secure-variables
HTH, Marius Gedminas
...... thanks for this Marius. -- Robin Becker
participants (4)
-
Marius Gedminas
-
Paul Moore
-
Robin Becker
-
Thomas Kluyver