> > The problem seems to be that sys.modules['lazr'].__path__ is set by the pth > file to a _frozen_importlib_external._NamespacePath rather than a regular > list. > Hacking the pth file to set it to a list (by adding "; > sys.modules['lazr'].__path__ = list(sys.modules['lazr'].__path__)" to the > end > of it) makes it work again. This might be a problem with Python itself, > setuptools, nose or something else, I just don't know. But it's horrid. >
Poking a little more, this seems to be because a non-list __path__ does not have its elements normalized by pkg_resources. But now I'm really confused :) Cheers, mwh