-
Notifications
You must be signed in to change notification settings - Fork 9
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
The plugin manager should be compatible with PyPI sources as a warned fallback #7
Comments
Would we still first try to do some "conversion" or dependency checks so we only pip install any non found conda dependencies? |
Would be easy enough to add those checks to the Re index script at npe2api if you want |
Hi @tlambert03 not sure I follow what you mean :) ? |
you could extend what @jaimergp has already done with this script: https://github.com/napari/npe2api/blob/main/scripts/reindex.py for any given package found with the classifier on pypi, we also look up conda information. At that moment, we've got all of the dependencies needed by both the conda package and the pypi package. If you wanted to, it would be a good moment to check all of the dependencies for availability on conda, and pre-index whether any given package could be installed purely from conda forge, with a hybrid approach, or only from pypi. That index could be stored in a new json file in the public folder there. that script runs once every 10 minutes |
Thanks for the explanation @tlambert03. I was thinking more in line with the drag and drop plugin installation for plugins that are not indexed. That is the main use case for this issue. |
got it! thanks :) |
From the NAP-2:
The text was updated successfully, but these errors were encountered: