[issue27051] Create PIP gui

Upendra Kumar report at bugs.python.org
Sun Jun 26 09:11:17 EDT 2016


Upendra Kumar added the comment:

In ref. to msg269264:

@Terry, I am ready to maintain this project. But for as backup is concerned I really don't know a lot of people and where should I look for them.

In reference to msg269038:

I was more engrossed in reading through other messages related to pip gui that I forgot to clarify about it. 

For pip install and uninstall command, I have used the pip.main() instead of subprocess module. There were two reasons for it ( what I thought):

1. More reliable, because I thought the output on CLI may change more frequently than arguments in pip.main(). (I think may be this assumption is wrong).  

2. I figured out a way to clear pip loggers ( which caused to produce duplicate output ). I found it on a issue in pip Github repo :

Adding one line of : pip.logger.consumers = [] in runpip(). It cleared the pip loggers responsible for producing duplicate output. ( due to this I liked pip.main(). The only troubling part about it was duplicate output )

This is just what I thought. I can very easily switch to subprocess module. Very less changes will be required in the code.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27051>
_______________________________________


More information about the Python-bugs-list mailing list