Setuptools - Removing Old Packages
I'm using easy_install for managing automatic updates to an application. I include the "--multi-version", "--upgrade", and "--install-dir" options, so that only an egg is copied to the directory I specify. I see that the current recommendation is to manually remove old packages, since there isn't an uninstall feature of setuptools. How would I go about detecting obsolete eggs myself, so that I can remove them programatically after downloading the latest version of an egg? Thanks, Marcus
On 7/23/07, Marcus <shutterbug@dwx.com> wrote:
I'm using easy_install for managing automatic updates to an application. I include the "--multi-version", "--upgrade", and "--install-dir" options, so that only an egg is copied to the directory I specify.
I see that the current recommendation is to manually remove old packages, since there isn't an uninstall feature of setuptools. How would I go about detecting obsolete eggs myself, so that I can remove them programatically after downloading the latest version of an egg?
Check out yolk (http://cheeseshop.python.org/pypi/yolk). Cheers, mk
participants (2)
-
Marcus
-
Michał Kwiatkowski