"""Metadata generation logic for legacy source distributions.
"""
=
"""Find an .egg-info subdirectory in `directory`."""
=
return
"""Generate metadata using setup.py-based defacto mechanisms.
Returns the generated metadata directory.
"""
= .
=
# Return the .egg-info directory.
return