parameters: (name, version, **kwargs)
return_statement: return Distribution(md)
docstring: A convenience method for making a dist given just a name and version.
docstring_summary: A convenience method for making a dist given just a name and version.
docstring_tokens: A convenience method for making a dist given just a name and version .
function: 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)
function_tokens: 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 )