(name, version, **kwargs)
return Distribution(md)
A convenience method for making a dist given just a name and version.
A convenience method for making a dist given just a name and version.
A convenience method for making a dist given just a name and version .
def make_dist(name, version, **kwargs):
    """
    A convenience method for making a dist given just a name and version.
    """
    summary = kwargs.pop('summary', 'Placeholder for summary')
    md = Metadata(**kwargs)
    md.name = name
    md.version = version
    md.summary = summary or 'Placeholder for summary'
    return Distribution(md)
def make_dist ( name , version , * * kwargs ) : summary = kwargs . pop ( 'summary' , 'Placeholder for summary' ) md = Metadata ( * * kwargs ) md . name = name md . version = version md . summary = summary or 'Placeholder for summary' return Distribution ( md )