-
Notifications
You must be signed in to change notification settings - Fork 62
ENH: Answer the question - what's the difference between pip and conda and why does pip install . -e install a package that's not on pypi? #505
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
Comments
the narrative idea of having personas and trying to present those stories with how to do the things that the persona probably needs to do... |
i don't know anything about conda, so i would be bad at answering the first one aside from saying "conda manages system dependencies in addition to python dependencies" I can def answer the second one. It looks like we already do actually: https://www.pyopensci.org/python-package-guide/tutorials/installable-code.html#step-5-install-your-package-locally python-package-guide/tutorials/installable-code.md Lines 531 to 551 in f31ba96
the only thing we'd need to add there to answer this specific question re: on pypi/not on pypi is just that we are asking it to install "the current directory" when we ask to install " I'm not sure if it would be too much detail to add a link to the pip docs which explain this fully, and be like "you can also install stuff from URLs and git repos and stuff" with an example e.g. installing numpy directly from the URL to the |
Jonny's summary of the second point is excellent. This is exactly what I came here to say: don't make the Also not a typical conda user, but I would say the bigger differences between pip and conda for the end-user developer are the scope of controlled packages (as Jonny said, conda goes beyond Python packages), the default index (PyPI vs anaconda), the expected isolation method (v[irtual]env vs conda) - I don't want to say default as pip is not an environment manager and that is another difference, and for advanced users and authors - the metadata specifications. I don't know if conda has a concept of an editable install, but I'm sure it has a concept of a local install and in that way it is similar to |
Uh oh!
There was an error while loading. Please reload this page.
This page begins to explain the difference but it doesn't answer the questions posed in the issue title above.
What is the difference between the two
How can pip install -e . install my package if it's not on pypi?
This may be related to the environments discussed in another issue.
cc @chenghlee
We might want to add this content on this page
And also it might be good to consider personas which would help a user find the things that they need to know ...
The text was updated successfully, but these errors were encountered: