egraphs-good/snake-egg

Consider adding python wheels on pypi

ferrine opened this issue · 5 comments

Hi, I'm an open source developer and got interested in your project to use it to preprocess IR of computational graphs for onnx, pytorch, tensorflow, jax and on. To make it possible to include your work as a dependency, python wheels have to be provided on pypi. Do you mind me helping to set up github CI publishing installable wheels for common operating systems like linux, windows, macos? So far I've checked there is no package snake-egg on pypi, so you might need to register it there

I unfortunately don't have the time to maintain a Python package. I will leave this decision up to @IanBriggs, the current maintainer.

That sounds amazing!

I've never registered a python package before, so it may take me a bit to get up to speed.

@IanBriggs If you would like a working example, I just got the egg-smol-python package to publish during CIA, both wheels and source: https://github.com/metadsl/egg-smol-python/blob/58ed32bba753a855f0ef6434f286af83f58c8f2f/.github/workflows/CI.yml#L135-L150

If you would like, I could open a PR here to add a similar release process!

Sure! Thanks.

I opened a PR (#13) that adds a task to publish the packages and tested it by publishing a 0.1.0 release, I hope that is OK!

@ferrine I am just re-reading your initial description and realize you also offered to set this up before. I am just learning as well how to publish rust python packages, so if you have any suggestions on that PR they are very welcome!