bounter icon indicating copy to clipboard operation
bounter copied to clipboard

Add CI for testing/wheels with Windows/Mac

Open menshikh-iv opened this issue 7 years ago • 8 comments

This lib contains a lot of C code, for this reason, we need to make wheels for our users without compiler

  • [ ] Setup Travis/CircleCI for Mac
  • [ ] Setup AppVeyor for Windows
  • [ ] [optionaly] Setup building wheels for Linux (with Travis)

menshikh-iv avatar Oct 17 '17 12:10 menshikh-iv

I would like just to confirm it would be perfect to have wheels package for Windows.

yaskevich avatar Apr 26 '19 17:04 yaskevich

Yeah, wheels would be nice. @yaskevich can you help out? CC @mpenkov.

piskvorky avatar Apr 26 '19 18:04 piskvorky

@piskvorky I am interested in this task to be completed. I never had experience with building wheels, but I have nothing against it. It there is a someone who could I ask about the details, it would be supercool. If not, I can try to do it by docs.

yaskevich avatar Apr 28 '19 14:04 yaskevich

Building wheels is not difficult; the 3rd party tools and services (AppVeyor & co) will be the biggest pain. Hopefully @mpenkov and @menshikh-iv could answer your questions.

piskvorky avatar Apr 28 '19 19:04 piskvorky

For starter, I built manually wheels package for Windows x64 and actual version of Python (3.7): https://github.com/yaskevich/bin/raw/master/bounter-1.1.0-cp37-cp37m-win_amd64.whl After that, I played with AppVeyor. I connected it to my fork of bounter and managed to make AppVeyor work. It produced wheels package: https://ci.appveyor.com/api/buildjobs/vx0kub8yyax1rfff/artifacts/dist%2Fbounter-1.1.0-cp37-cp37m-win_amd64.whl Binary mine and AppVeyor's are not the same, but I guess it's ok. Now original bounter repo is to be connected to AppVeyor, as well uploading built packages to PyPI has to be set up (credentials will be required). Also there is a question for which architectures wheels packages should be produced. I set up only Python 3.7 for Windows x64. It seems I cannot connect AppVeyor to others repo. By the way, is there any chat for bounter, gensim and stuff? Slack, Telegram, etc? I'm asking because I currently develop extension for gensim, and it would be cool to discuss some things.

yaskevich avatar May 04 '19 13:05 yaskevich

There's gitter and there's twitter. But the Gensim mailing list and Github here are the liveliest :) What kind of extension are you working on?

@mpenkov can you please assist @yaskevich with setting up the release process for Bounter? Cheers.

piskvorky avatar May 04 '19 16:05 piskvorky

@yaskevich Can you make a PR with the relevant AppVeyor config?

mpenkov avatar May 07 '19 09:05 mpenkov

There's gitter and there's twitter. But the Gensim mailing list and Github here are the liveliest :) What kind of extension are you working on?

Thanks for links. It's just a graph visualization builder, something like this. The question is whether it should be either a function of gensim, or standalone module.

@mpenkov can you please assist @yaskevich with setting up the release process for Bounter? Cheers. @yaskevich Can you make a PR with the relevant AppVeyor config?

I've just made a PR #39. It is super simple, I guess it have to be more elaborate (e.g. support for more architectures, upload to PyPI).

yaskevich avatar May 21 '19 14:05 yaskevich