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.
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.