-
Notifications
You must be signed in to change notification settings - Fork 228
[MRG] Allow installation from conda #283
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
[MRG] Allow installation from conda #283
Conversation
I commented on the conda PR. Thanks for setting this up! |
Thanks. This looks great! |
As requested in the conda-forge PR, I modified |
@bellet If you checked that the entry in https://packaging.python.org/guides/using-manifest-in/#using-manifest-in but if the |
Yes, I read about both solutions. I checked on my local machine and the added line in |
@bellet @synapticarbors I think adding it in |
README.rst
Outdated
@@ -33,6 +33,8 @@ metric-learn contains efficient Python implementations of several popular superv | |||
|
|||
Run ``pip install metric-learn`` to download and install from PyPI. | |||
|
|||
Run ``TO COMPLETE`` to download and install in conda. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can link to instructions here so it's less verbose in our README? https://github.com/conda-forge/metric-learn-feedstock#installing-metric-learn
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I have added the simple instructions to install and pointed to this page for more options
README.rst
Outdated
|
||
Run ``python setup.py install`` for default installation. | ||
- To install from PyPi: ``pip install metric-learn``. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PyPi -> PyPI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, fixed!
Just tested the conda recipe for both Python 2 & 3 and it works well |
Thanks again, merged. |
@perimosocordiae @terrytangyuan @wdevazelhes can one of you check this? It looks like at least the CI badge urls need to be updated |
@bellet It seems like I cannot update the description manually. The issue is that our last release's README has the outdated URLs. The only solution would be release a new version. Also we need to make sure our README is correct and up-to-date before submitting release to PyPI next time. |
OK, I did not realize this was directly rendering the README file! |
@bellet Just added you as owner on PyPI in case I am away. Hope we'll all be safe around COVID-19 situation. Take care! |
Thanks! |
Anaconda is widely used so it would be nice to be able to install
metric-learn
withconda install
. After a bit of research I think the best option is to addmetric-learn
to the popularconda-forge
channel instead of creating a specific channelI have created the recipe and PR there: conda-forge/staged-recipes#11168
@perimosocordiae @terrytangyuan @wdevazelhes I put you in the list of maintainers, so you have to post a comment on the above PR to let them know that you are willing to be listed there
Note: I also noticed that the PyPi entry is somewhat outdated, for instance the badges for travis and codecov do not work probably due to outdated URL. metric-learn appears in the "My projects" section but the "manage" button is greyed out. Can someone give me the management rights and/or fix the small problems in the PyPi entry? Thanks!