[Distutils] Setuptools - Removing Old Packages

Michał Kwiatkowski constant.beta at gmail.com
Mon Jul 23 22:25:09 CEST 2007


On 7/23/07, Marcus <shutterbug at 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


More information about the Distutils-SIG mailing list