--- a/Lib/packaging/database.py Sat Jun 09 17:31:59 2012 +0100 +++ b/Lib/packaging/database.py Mon May 21 23:01:17 2012 -0400 @@ -244,11 +244,6 @@ 'dist-info file %r does not belong to the %r %s ' 'distribution' % (path, self.name, self.version)) - # The file must be relative - if path not in DIST_FILES: - raise PackagingError('invalid path for a dist-info file: %r' % - path) - path = os.path.join(self.path, path) return open(path, open_flags)