Graphegon / pygraphblas

GraphBLAS for Python
https://graphegon.github.io/pygraphblas/pygraphblas/index.html
Apache License 2.0
343 stars 27 forks source link

Publish on PyPi or conda? #71

Open bergkvist opened 4 years ago

bergkvist commented 4 years ago

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

michelp commented 4 years ago

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.

bergkvist commented 4 years ago

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

bergkvist commented 4 years ago

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.

michelp commented 4 years ago

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.