[Distutils] setuptools, removing installed eggs

Tarek Ziadé ziade.tarek at gmail.com
Tue Feb 19 14:42:58 CET 2008


I am trying to write a script that removes all traces of an egg. 
I am not talking about a clever thing that follows dependencies,
but I have faced issues where my fellow developers had a remaining 
"develop" eggs that had to be removed.

So an "easy_remove" script that cleanly erase all occurences of a given egg
would be good ihmo.

In my understanding, the script should:

- scan all entries in pkg_resources.working_set.entries, to get all
  of the given egg (folder, archive and link)

- call easy_install -m package

- remove all entries founded before.

Is that right ?



View this message in context: http://www.nabble.com/setuptools%2C-removing-installed-eggs-tp15560799p15560799.html
Sent from the Python - distutils-sig mailing list archive at Nabble.com.

More information about the Distutils-SIG mailing list