-
Notifications
You must be signed in to change notification settings - Fork 1k
Use python3 -m pip
for pip example
#1563
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
One thing I'm not sure about here is whether or not we want to encourage I do think we probably need to settle on the "one true way" to invoke pip that deals with multiple interpreters and such and start deprecating/removing the other ways and switching things like these little helper scripts to using it. |
@brettcannon Thanks for making the point -- I think this is important, but I hope you don't mind that I'm noting that this issue isn't part of the critical path towards switching PyPI to Warehouse. |
@brainwane Not at all! This obviously has nothing to do with getting that pre-production banner of of Warehouse. |
I imagine this would need discussion over on distutils-sig at some point but before that, I think that pypa/packaging-problems or pypa/pip would be better places for this discussion? |
Is it time to open this can of worms somewhere? |
Hehe. There's a bunch of related discussion at pypa/pip#3164. I think we have consensus (see starting pypa/pip#3164 (comment)) but I don't think we should go through that much of our "churn budget" right now, especially given the churn from our newer standards. One of the aims there is that "pip does not provide any CLI wrappers; only supports |
Honestly, I'm not a super big fan of invoking pip using |
Is that a short term or medium term task, though, @dstufft? |
Probably long term? My thinking regarding this has changed since pypa/pip#3164 was first filed, but we probably want to agree on what the long term looks like, before making any short term steps to make sure we don't have to backtrace our steps. |
Fair enough. I will then leave this alone while the interface to pip gets hashed out. |
For everybody who interested in topic: Brett's post https://snarky.ca/why-you-should-use-python-m-pip/ |
I couldn't find any previous issue about this idea, but I was wondering if it was considered to have the pip instructions for each project specify
python -m pip
instead ofpip
only? That would be a great way to start moving people towards using the pip tied to the interpreter when they have more than one interpreter installed rather than maybe accidentally running apip
command tied to the wrong interpreter.The text was updated successfully, but these errors were encountered: