Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide wheels #47

Closed
oberstet opened this issue Jan 24, 2016 · 18 comments
Closed

Provide wheels #47

oberstet opened this issue Jan 24, 2016 · 18 comments

Comments

@oberstet
Copy link

In particular on Windows (and also OSX), it would be nice if py-setproctitle published wheels, as that make installation pain free.

@offero
Copy link

offero commented Feb 5, 2016

+1

@dvarrazzo
Copy link
Owner

@oberstet, @offero: will you buy me the hardware to create such packages?

@oberstet
Copy link
Author

oberstet commented Feb 5, 2016

@dvarrazzo fair enough;)

There is a free (for open-source projects) CI packaging service here: https://www.appveyor.com/ which supports building Windows wheels: http://python-packaging-user-guide.readthedocs.org/en/latest/appveyor/

I just stumbled across this now that I searched for triggered by your question - so I don't know if it works well. But at least they claim. And I will check myself now, since we could use that for CI testing on Windows ourselves (Crossbar.io / Autobahn).

@scopatz
Copy link

scopatz commented Feb 5, 2016

Also, note there is now a conda package available so you can just

conda install -c conda-forge setproctitle

Conda Forge uses the CI services under the hood.

@oberstet
Copy link
Author

oberstet commented Feb 5, 2016

so I need another wheel (conda on client box) to install the wheel? ha, pun;) if so, thx but .. no;)

@ssbarnea
Copy link

Yep the conda-forge method was the only one that worked for me and I had to switch my entire Python distribution in order to install setproctitle. That's clearly not so cool and I think that the package should build even on the official Python.org distribution (in addition to having published wheels).

First step, please publish Windows wheels.

@dvarrazzo
Copy link
Owner

@ssbarnea, or whoever else is concerned: please provide a patch so that I can type

make wheels

which would use whatever online service or whatever hardware you will pay support for, and ends up with a wheel compiled and install on PyPI which then you can enjoy.

@dalito
Copy link

dalito commented Apr 5, 2016

FYI: Windows wheels are also available on Christoph Gohlke´s site (from py27 to py 35)
http://www.lfd.uci.edu/~gohlke/pythonlibs/#setproctitle

@giampaolo
Copy link

giampaolo commented Nov 7, 2016

@dvarrazzo you can automatize this as I did with psutil after I began being tired of doing it myself.
You can use appveyor. The idea is more or less the following:

  • you set up appveyor so that it runs on every push (you can run tests) and also creates exe / wheels for all supported python versions
  • on every successful build appveyor will store the exes / wheels as "artifacts", which really is their term for "file storage"
  • on every new release you download the exes wheels from appveyor on your OSX/Linux box and upload them on PYPI with twine

It's a bit tricky to get right but I automatized all this in psutil so you can go there and take a look.

@giampaolo
Copy link

...or you can wait for me to write a blog post about it. =)

@fzumstein
Copy link

are there still plans @giampaolo to setup appveyer for building the wheels?

@dvarrazzo
Copy link
Owner

FYI, next release of setproctitle, 1.2, will be distributed with binary packages for linux.

Binary packages for OSX and for Windows can be created, but I will not work on them for free. If you would like to sponsor their creation you are welcome to get in touch.

@dvarrazzo
Copy link
Owner

FYI, I have set up actions to build wheel packages on linux.

They are delicious.

I see that github actions supports building window packages too: funding is welcome for windows and osx packages creation.

petrutlucian94 added a commit to petrutlucian94/py-setproctitle that referenced this issue Dec 4, 2020
This commit adds Github workflows for building the Windows wheels.

The test workflow will also build Windows wheels, ensuring that
this functionality doesn't get broken. We aren't running the
actual Python tests on Windows for now since those are Linux
specific.

Related issue: dvarrazzo#47

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
petrutlucian94 added a commit to petrutlucian94/py-setproctitle that referenced this issue Dec 7, 2020
This commit adds Github workflows for building the Windows wheels
and running the tests.

Related issue: dvarrazzo#47

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
petrutlucian94 added a commit to petrutlucian94/py-setproctitle that referenced this issue Dec 7, 2020
This commit adds Github workflows for building the Windows wheels
and running the tests.

Related issue: dvarrazzo#47

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
petrutlucian94 added a commit to petrutlucian94/py-setproctitle that referenced this issue Dec 7, 2020
This commit adds Github workflows for building the Windows wheels
and running the tests.

Related issue: dvarrazzo#47

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
petrutlucian94 added a commit to petrutlucian94/py-setproctitle that referenced this issue Dec 7, 2020
This commit adds Github workflows for building the Windows wheels
and running the tests.

Related issue: dvarrazzo#47

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
petrutlucian94 added a commit to petrutlucian94/py-setproctitle that referenced this issue Dec 7, 2020
This commit adds Github workflows for building the Windows wheels
and running the tests.

Related issue: dvarrazzo#47

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
petrutlucian94 added a commit to petrutlucian94/py-setproctitle that referenced this issue Dec 7, 2020
This commit adds Github workflows for building the Windows wheels
and running the tests.

Related issue: dvarrazzo#47

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
petrutlucian94 added a commit to petrutlucian94/py-setproctitle that referenced this issue Dec 7, 2020
This commit adds Github workflows for building the Windows wheels
and running the tests.

Related issue: dvarrazzo#47

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
petrutlucian94 added a commit to petrutlucian94/py-setproctitle that referenced this issue Dec 7, 2020
This commit adds Github workflows for building the Windows wheels
and running the tests.

Related issue: dvarrazzo#47

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
petrutlucian94 added a commit to petrutlucian94/py-setproctitle that referenced this issue Dec 7, 2020
This commit adds Github workflows for building the Windows wheels
and running the tests.

Related issue: dvarrazzo#47

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
@dvarrazzo dvarrazzo added OSX and removed Windows labels Jan 23, 2021
@dvarrazzo
Copy link
Owner

Windows packages released.

@hoffmang9
Copy link
Contributor

See #96 from Chia https://chia.net

@alexprengere
Copy link

Would it be possible to release wheels for Python-3.10 as well?

@dvarrazzo
Copy link
Owner

@alexprengere There is something rotten in the images that the CI has just produced. Packages were created but I don't seem able to upload them on PyPI.

In the meantime, in other projects, I have tested with cibuildwheel and it worked nicely. So I think I will just drop our pipeline in this form and use that project instead.

@dvarrazzo
Copy link
Owner

Build system moved to cibuildwheel. It took two days. However, most wheels are built now. Enjoy setproctitle 1.2.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants