py-cpuinfo
py-cpuinfo copied to clipboard
Support Wheel
Support building and publishing a Wheel.
Closes #163
I'm an indirect user of py-cpuinfo and I've noticed that there is no Wheel available.
Why should we care about Wheel: https://pythonwheels.com/
@workhorsy, please review this PR.
Thanks in advance :)
I'll have to look into Wheel. I'm not familiar with it. I'll try it out and see, when I have time. Thanks
Hi, is there anything I can do to have progress with this PR?
Hi,
Sorry for the long delay - eventually I got over the procrastination.
I've added a commit that moves the --universal flag to a new setup.cfg file.
In addition, it splits the clean command to 2 parts so the build command won't delete the distribution files directly after creating them.
I've tested the PR by running make build, then ls -l to see the artifacts and then make clean-dist-files to get to a clean state again.
Please let me know if you want me to make any other change.
Thanks :)
Ping
Would be great to get this merged. Pyodide doesn't support installing packages from source distribution and we can't use make or subprocess so we can't really support it. For now that means we can't use pytest-benchmark because this package has no wheel. See for instance https://github.com/samuelcolvin/pydantic-core/pull/118
I finally had some time to research Wheel. This seems to work from my testing. Thanks for the PR