Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish on PyPi or conda? #71

Open
bergkvist opened this issue Aug 14, 2020 · 4 comments
Open

Publish on PyPi or conda? #71

bergkvist opened this issue Aug 14, 2020 · 4 comments

Comments

@bergkvist
Copy link

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

@michelp
Copy link
Collaborator

michelp commented Aug 20, 2020

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
Copy link
Author

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

@bergkvist
Copy link
Author

bergkvist commented Aug 25, 2020

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

@michelp
Copy link
Collaborator

michelp commented Aug 25, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants