On Mon, Oct 26, 2009 at 09:18:25AM -0500, Olemis Lang wrote: >> >> On Mon, Oct 26, 2009 at 9:03 AM, Roger Oberholtzer >> <[email protected]> wrote: >> > >> > My Trac packages are installed in /usr/lib/python2.5/site-packages >> > >> > When I do an update of a package (python setup.py install), I see that I >> > get a new .egg (file or directory), but the old one is also still >> > present. In Trac admin, I only see the most recent one. >> > >> > My question is: >> > >> > 1) Should I be using something other than "python setup.py install" when >> > doing an update? >> > >> > 2) What is the best/correct way to remove the obsolete eggs? >> > >> >> That goes beyond the scope of Trac itself and is related to setuptools . >> >> - The simple answer is «today there's no way to remove packages >> installed using setuptools or easy_install».
On Mon, 2009-10-26 at 10:20 -0400, Jeff Hammel wrote: > > No easy way, at least. You can always edit easy_install.pth and > remove the eggs with rm Please, the way I c it we are gonna start *YET ANOTHER* very, very, very, very, very, very long thread about setuptools and packaging and removal and setuptools and * . There are a lot of them at PyDev list. I invite you to read them in order to know the multiple opinions about it . As I always do in these situations, I send a copy to P.J. Eby , perhaps he can provide further details. However I insist, the only reliable way I know so far to achieve this is to use the OS native pkg manager. There is no reliable way to remove the pkg using just easy_install + setuptools , and pkg management is very complex and unreliable considering the features supported by e.g. apt system CMIIW anyway >> - The continuation is «Python devs are working on that and many >> other things in the upcoming Distribute module». >> - My suggestion is «if package is available in your OS pkg manager >> (e.g. apt on Debian, rpm on RH, ...) then use it » >> - Open issues «when Trac will take benefit of all these improvements ?» >> «what changes are needed ?» ... I just don't know :-/ >> -- Regards, Olemis. Blog ES: http://simelo-es.blogspot.com/ Blog EN: http://simelo-en.blogspot.com/ Featured article: Gasol-ina para España - http://feedproxy.google.com/~r/simelo-es/~3/c6MtwvrQ92s/gasol-ina-para-espana.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
