paulbrodersen / netgraph

Publication-quality network visualisations in python
GNU General Public License v3.0
660 stars 39 forks source link

is a conda package available somewhere? #57

Closed rjalexa closed 1 year ago

rjalexa commented 1 year ago

Dear Dr. Brodersen, I manage my python environments using conda, not pip.

Is there a way to install your beautiful library with it?

Not sure how to flag this as just as a nice to have, not a bug.

paulbrodersen commented 1 year ago

Hi Robert

netgraph isn't currently uploaded to conda-forge. For a package to be eligible for conda-forge, all of its dependencies have to be on conda-forge. It used to be the case that several dependencies were not on conda, so I didn't even consider it. However, it seems that now the only dependency missing is retangle-packer, and they have a conda package on their own channel. As it is not a huge jump from there to publishing it on conda-forge, I will raise an issue with them and see if they have plans / can be persuaded to publish their package there.

In the meantime, you can install netgraph using pip inside an anaconda environment, as anaconda maintains compatibility with pip and by default comes with pip pre-installed in each environment.

Best, Paul

paulbrodersen commented 1 year ago

Mhm, actually, it looks like somebody other than the author uploaded rectangle-packer to anaconda.

rjalexa commented 1 year ago

Thanks a lot Paul. Yes as of now I did install via pip even though when you generate requirements down the line mixed environments often spell trouble. I see you are a computational neuroscientist, how interesting. I am a medical practitioner dabbling with AI (mostly NLP and knowledge graphs)! Take care and have a great winter holiday.

paulbrodersen commented 1 year ago

If you don't mind, I would like to leave the issue open. It's worth doing and I will otherwise forget to chase the author of rectangle-packer. ;-)

paulbrodersen commented 1 year ago

netgraph and all of its dependencies are now available via conda-forge:

conda install -c conda-forge netgraph
rjalexa commented 1 year ago

Thank you very much on behalf of all conda/mamba users :) Take care