Message269284
| Author |
upendra-k14 |
| Recipients |
dstufft, lorenzogotuned, ncoghlan, ned.deily, rhettinger, terry.reedy, upendra-k14 |
| Date |
2016年06月26日.13:11:17 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1466946677.41.0.0538031851191.issue27051@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|