Éric Araujo <mer...@netwok.org> added the comment: Spamlib-0.1.dist-info is in a directory on sys.path, so the error makes no sense to me. Can you inspect the content of that directory? (i.e os.listdir and file contents) Also, if you can interrupt the test to get a Python or pdb shell, could you try this:
>>> from packaging.database import Distribution >>> d = Distribution('path/to/Spamlib-0.1.dist-info') >>> d.metadata >>> d.list_distinfo_files() >>> d.list_installed_files() ---------- assignee: tarek -> eric.araujo _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13193> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com