-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Dependency links in pip 1.6 #2023
Comments
Generally you should use a requirements.txt file, however we've decided not to remove the |
+1 -- private package deployment needs dependency links, requirements.txt are a bad replacement as they remove the self-description of a package. thanks for keeping it in for the time being. |
@miraculixx I like the way NPM manages dependencies and I'll be glad to see something like this in PIP. |
+1 |
What I don't understand is how requirements.txt is considered a replacement for dependency_links? Dependency_links allows me to do "pip install git+ssh:..." and it automatically installs all dependencies, from PyPI or my own Git repositories. With requirements this becomes a much more involved process: git clone, cd project, pip install -r requirements.txt, python setup.py install. Also what is so bad about dependency_links that it needs to go? |
The problem with dependency links is that for public packages, like those hosted on PyPI, is that you shouldn't have However it came to light that there was an important use case we were missing, namely that of the cases where you have private packages that you want to install, maybe from Git or a personal PyPI or whatever. Since we realizes that we weren't yet well handling that use case we delayed the removal of |
So I guess s/direct dependencies/direct references/ in PEP 440, right? If that mechanism allows me to specify in setup.py of project Foo hosted at
then I am happy. |
Er, yea, got the terminology wrong. Yes, that's the idea. It doesn't do that yet, but that's the goal. |
👍 |
Hooray! Thanks for recognizing this need. I've spent my whole morning trying to figure out what I'm supposed to be using other than dependency links, for private packages. |
Received warning:
What should be used instead dependency links?
The text was updated successfully, but these errors were encountered: