def make_dist(name, version, **kwargs):
 summary = kwargs.pop(u'summary', u'Placeholder for summary')
 md = Metadata(**kwargs)
 md.name = name
 md.version = version
 md.summary = (summary or u'Placeholder for summary')
 return Distribution(md)

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