drop egg_info_lines

and use pkg_resources.Distribution instead