Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Also build a py3-none-any wheel #33

Merged
merged 3 commits into from
Apr 23, 2023
Merged

Conversation

rmelick-muon
Copy link
Contributor

We have a usecase where we are trying to install gpiod on a system where we cannot run pip. So, we pre-download all of the packages ahead of time using pip download and then transfer them over. Unfortunately, in order to make sure we download wheels for the correct architecture by specifying --platform, we also have to specify --only-binary (see their docs).

Since giopd does not currently publish a wheel, it cannot be downloaded in this way.

I think the change to publish a wheel is actually really simple, since gpiod is already a pure python library. I just switched to the commands recommended in the Packaging Projects tutorial, and it seemed to build the right artifacts.

Screen Shot 2023-04-06 at 3 28 00 PM

@rmelick-muon rmelick-muon mentioned this pull request Apr 6, 2023
@hhk7734 hhk7734 self-requested a review April 9, 2023 19:14
@hhk7734 hhk7734 enabled auto-merge (squash) April 9, 2023 19:16
@hhk7734
Copy link
Owner

hhk7734 commented Apr 13, 2023

@rmelick-muon
I need to check if it downloads well after uploading to test.pypi, but I've been busy lately, so I'm behind on testing. As soon as I have time, I will test it and reflect it.

@hhk7734 hhk7734 disabled auto-merge April 13, 2023 01:51
@hhk7734 hhk7734 linked an issue Apr 13, 2023 that may be closed by this pull request
@hhk7734 hhk7734 enabled auto-merge (squash) April 13, 2023 01:52
@hhk7734 hhk7734 merged commit 9a38a62 into hhk7734:main Apr 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for wheels
2 participants