-
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
Create a command to make it easy to access the configuration file #1736
Comments
All 3? :) |
Dunno! I just didn't want to forget it :] Perhaps all 3, perhaps only one of them. |
Sorry, misclick |
(edited twice; the actual command is a little different from this) Here's a proposal:
It provides all three behaviours from OP in a manner that is consistent with our current commands. It also provides, what I think is, all of the required operations for the user in a sensible easy-to-understand manner. |
If the proposal looks fine, I'll go ahead and make a PR for this... |
Windows perspective - We could leverage the standard option support and allow |
True. For Windows, just open it in whatever is their default text editor should suffice. I don't mind the some option based support for changing the editor. |
Offshoot idea: #3809. |
But that's the point - there is no concept of a "default text editor". If you mean the editor associated with ".txt" files, that's not always appropriate (as well as being way too hard to determine correctly). So we need an option in pip, to control the editor *pip uses (independent of system-level choices). Ideally, Python would have an "open a file in the default text editor" function, much like it has an "open a webpage in a browser" function in the webbrowser module. But sadly, it doesn't. |
Ooh. Okay. In that case, it seems to me that providing an |
Update: #4192 refactors out the code for configuration. I'll follow up with the config command if that's accepted. |
I'm working on this. |
This can be closed. #4240 has merged. ^.^ |
@glyph said in #1733
I like this idea and I think we should add it.
The text was updated successfully, but these errors were encountered: