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. Code looks something like this: def installed_packages(self): result = [] if not self.interpreted: site.addsitedir(self.python_sitepackages_path) import pkg_resources ws = pkg_resources.WorkingSet() for i in ws: s = str(i) result.append(s.split(' ')) return result _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig