At 10:24 PM 5/16/2009 -0400, David Lyon wrote:

Hi,

I'm using working set and I have come into an issue.

In my package manager I can now install packages and deinstall fine.

The problem that I now face is want to refresh WorkingSet after
a package has been deinstalled.

Or, I need to do the refresh when swapping to a different version
of python that is installed on the system.

Just create a fresh WorkingSet object, and use that one. You probably want to be using explicitly-created WorkingSet instances for this anyway. (easy_install certainly does.)

_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to