pygraphblas icon indicating copy to clipboard operation
pygraphblas copied to clipboard

Publish on PyPi or conda?

Open bergkvist opened this issue 3 years ago • 4 comments

Would be nice if pygraphblas was possible to install using pip or conda.

bergkvist avatar Aug 14 '20 14:08 bergkvist

I agree, a conda meta file I think would be all that's necessary since suitesparse is already in the forge for grblas, @bergkvist you feel like sending a PR?

I haven't build a binary pip package but I'm sure it's just a matter of reading the docs as well.

michelp avatar Aug 20 '20 21:08 michelp

Update: pygraphblas is now published to conda-forge: https://github.com/conda-forge/pygraphblas-feedstock (thanks to @eriknw, @jim22k, @michelp)

bergkvist avatar Aug 25 '20 14:08 bergkvist

If the following issue is solved https://github.com/conda-forge/graphblas-feedstock/issues/8, I guess it might be easy/possible to install pygraphblas on Windows as well.

bergkvist avatar Aug 25 '20 14:08 bergkvist

The CFFI tool doesn't parse C preprocessor directives so the GB_PUBLIC (iirc) macro in GraphBLAS.h has to be removed before building. We can probably swap that out with a different ddlexport declaration from the build script when it detects windows. I don't have access to any windows machines to try this out.

michelp avatar Aug 25 '20 15:08 michelp