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.
-- .pth and .egg-info files in /usr/lib/pymodules/python2.6 are not being processed https://bugs.launchpad.net/bugs/621348 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs