-
Notifications
You must be signed in to change notification settings - Fork 1.4k
add note about --no-deps in develop mode. #176
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
Conversation
Adding a note about the no-deps option for develop mode -- I, at least, find this is usually what I want. (maybe because I use conda to handle dependencies...). but it took me a while to find it back in the day.
|
I think we need a stated rationale as for why someone would do this, something besides mentioning conda, which is going to be a left-field remark for many people. installing dependencies is the natural thing. the exception I think we could mention is when they're using a dev requirements files that is handling dependencies for them. |
This. After installing deps using requirements file I uninstall selected deps and install them in editable (in pip's parlance) mode with |
|
I agree we shouldn't mention conda. But frankly, --no-deps should be the default in develop mode. If you are developing, you want to control the dependencies your own way -- maybe some get installed in develop mode themselves, get them from a different source, have them installed by hand in a way that setuptools doesn't recognise... But I'm not sure how to phrase that succinctly. But then, I'm a bit pedantic -- I don't think setuptools should EVER install dependencies -- dependency management is what pip is for. And sometimes a setup.py install drags stuff in without your realizing quite what it did... |
|
we need to distinguish the following in our thread here:
for #1, I think we should only be recommending #2 is a separate issue. I don't agree that |
|
can you use `--no-deps If so, only mentioning pip install -e`` is fine. "there should only be one way to do it" I'm not going to make a fuss about what the default recommendation should be - I just wanted the For my part, I was quite surprised when |
|
You can do I'll post another PR later tonight that I hope will serve your need but
|
|
great, thanks! |
I think the same 👍 |
well, probably tomorrow, but I won't let it drop : ) |
|
ok, see #177 |
|
closing this issue due to merging #177 |
Adding a note about the no-deps option for develop mode -- I, at least, find this is usually what I want. (maybe because I use conda to handle dependencies...). but it took me a while to find it back in the day.