Comment 3 for bug 621348

Revision history for this message
Marc Tardif (cr3) wrote :

In addition to making the above snippet recursive by calling addsitedir expicitly, I think that the addpackage function would also have to be extended with pkg_resources.working_set.add_entry(sitedir) near the top in order for the directory to kick in. Just my observation from playing around with the bug.